首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

:solaris安装gettext-0.16.1出错

2012-02-13 
紧急求助:solaris安装gettext-0.16.1出错solaris安装gettext-0.16.1出错,貌似是字符编码问题,用 iconv -f

紧急求助:solaris安装gettext-0.16.1出错
solaris安装gettext-0.16.1出错,貌似是字符编码问题,用 iconv -f GB2312 -t UTF-8 gettext-0.16.1.tar > gettext-0.16.12.tar 进行编码转换,没有完全成功,也出错了,应该怎么解决呢?

gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJEXE=1 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../libuniname -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/usr/local/lib/gettext\" -D_REENTRANT -I/usr/local/include -g -O2 -c -o urlget-urlget.o `test -f 'urlget.c' || echo './'`urlget.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o urlget urlget-urlget.o ../gnulib-lib/libgettextlib.la ../intl/libintl.la -L/usr/local/lib -liconv -L/usr/openwin/lib -R/usr/local/lib  
gcc -g -O2 -o .libs/urlget urlget-urlget.o ../gnulib-lib/.libs/libgettextlib.so /export/home/zhouk/.bin/gettext-0.16.1/gettext-tools/intl/.libs/libintl.so -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib ../intl/.libs/libintl.so -lc /usr/local/lib/libiconv.so -R/usr/local/lib
ld: warning: file ../intl/.libs/libintl.so: linked to /export/home/zhouk/.bin/gettext-0.16.1/gettext-tools/intl/.libs/libintl.so: attempted multiple inclusion of file
creating urlget
gcj ./gnu/gettext/DumpResource.java --main=gnu.gettext.DumpResource -o gnu.gettext.DumpResource
./gnu/gettext/DumpResource.java:0: unknown encoding: `gb2312'
  This might mean that your locale's encoding is not supported
by your system's iconv(3) implementation. If you aren't trying
to use a particular encoding for your input file, try the
`--encoding=UTF-8' option
compilation terminated.
make[4]: *** [gnu.gettext.DumpResource] Error 1
make[4]: Leaving directory `/export/home/zhouk/.bin/gettext-0.16.1/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/export/home/zhouk/.bin/gettext-0.16.1/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/zhouk/.bin/gettext-0.16.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/zhouk/.bin/gettext-0.16.1/gettext-tools'
make: *** [all-recursive] Error 1


[解决办法]

热点排行