专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Solaris

:solaris安装gettext-0.16.1出错

发布时间:2011-06-27 19:16:46 文章来源:www.iduyao.cn 采编人员:星星草
紧急求助: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


------解决方案--------------------
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: