# sudo gem install character-encodings
/opt/local/bin/ruby18 extconf.rb install character-encodings
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/opt/local/lib/ruby/1.8/i386-solaris2 -I/opt/local/lib/ruby/1.8/i386-solaris2 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H
-DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H
-DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -D_REENTRANT -I/usr/include -I/opt/local/include/db4 -I/opt/local/include -fPIC -O
-D_REENTRANT -I/usr/include -I/opt/local/include/db4 -I/opt/local/include -fPIC -std=c99 -finline-functions -Wall -Wextra
-Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith
-Wcast-align -Werror -Winline -c rb_utf_to_i.c
rb_utf_to_i.c: In function `rb_utf_to_i':
rb_utf_to_i.c:25: warning: visibility attribute not supported in this configuration; ignored
*** Error code 1
make: Fatal error: Command failed for target `rb_utf_to_i.o'
------
Tried on OpenSolaris 11 with gcc 3.4.3, 3.4.5 and 4.0.2. Maybe it need an ajust on Makefile.
|