view · edit · sidebar · attach · print · history

character-encodings does not seem to install on windows vista

<< Activesupport | Index | Dbi >>

 ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

then trying to install

 gem install character-encodings

results in

 Temporarily enhancing PATH to include DevKit...
 Building native extensions.  This could take a while...
 ERROR:  Error installing character-encodings:
        ERROR: Failed to build gem native extension.

 C:/Ruby187/bin/ruby.exe extconf.rb
 checking for ‘«ˇ-std=c99‘«÷ option to compiler... yes
 checking for ‘«ˇ-finline-functions‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wall‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wextra‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wwrite-strings‘«÷ option to compiler... yes
 checking for ‘«ˇ-Waggregate-return‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wmissing-prototypes‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wmissing-declarations‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wnested-externs‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wundef‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wpointer-arith‘«÷ option to compiler... yes
 checking for ‘«ˇ-Wcast-align‘«÷ option to compiler... yes
 checking for ‘«ˇ-Werror‘«÷ option to compiler... yes
 checking for ‘«ˇ-Winline‘«÷ option to compiler... yes
 checking for assert.h... yes
 checking for limits.h... yes
 checking for locale.h... yes
 checking for stdbool.h... yes
 checking for stddef.h... yes
 checking for stdint.h... yes
 checking for stdio.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for sys/types.h... yes
 checking for wchar.h... yes
 creating Makefile

 make
 gcc -I. -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -
 HAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H    -g -O2 -DFD_SETSIZE=256 -std=c99 -finline-functions -Wal -strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -Winline  -c break.c gcc -I. -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -
 HAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H    -g -O2 -DFD_SETSIZE=256 -std=c99 -finline-functions -Wal -strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -Winline  -c decompose cc1.exe: warnings being treated as errors
 decompose.c: In function '_utf_normalize_wc':
 decompose.c:410:1: error: visibility attribute not supported in this configuration; ignored
 make: *** [decompose.o] Error 1

 Gem files will remain installed in C:/Ruby187/lib/ruby/gems/1.8/gems/character-encodings-0.4.1 for inspection.
 Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/character-encodings-0.4.1/ext/encoding/character/utf-8/gem_make.out

but

 gem install rkj-character-encodings

installs just fine (also reported here http://url.ba/zr0f)

 vim C:/Ruby-1.8.6-oniguruma/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib/oddb/import/importer.rb

and edit the line to UTF-8 and LATIN1

 @@iconv = Iconv.new('UTF-8//IGNORE//TRANSLIT', 'LATIN1')
view · edit · sidebar · attach · print · history
Page last modified on March 22, 2011, at 04:45 PM