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