Board logo

标题: [求助] 老大啊,怎么安装gettext,一直出错 [打印本页]

作者: xuyanjian    时间: 2012-4-5 12:42     标题: 老大啊,怎么安装gettext,一直出错

[root@289930 gettext]# ./configure -with-php-config=/www/wdlinux/php-5.2.17/bin/php-config with-gettext
configure: WARNING: you should use --build, --host, --target
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for with-gettext-cc... no
checking for with-gettext-gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... Invalid configuration `with-gettext': machine `with' not recognized
configure: error: /bin/sh ./config.sub with-gettext failed
[root@289930 gettext]#
[root@289930 gettext]#
[root@289930 gettext]# //./configure -with-php-config=/www/wdlinux/php-5.2.17/bin/php-config with-gettext
-bash: //./configure: No such file or directory
[root@289930 gettext]# ./configure -with-php-config=/www/wdlinux/php-5.2.17/bin/php-config with-gettext
configure: WARNING: you should use --build, --host, --target
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for with-gettext-cc... no
checking for with-gettext-gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... Invalid configuration `with-gettext': machine `with' not recognized
configure: error: /bin/sh ./config.sub with-gettext failed


这个怎么解决哇
作者: admin    时间: 2012-4-5 13:57

checking build system type... Invalid configuration `with-gettext': machine `with' not recognized
configure: error: /bin/sh ./config.sub with-gettext failed
作者: xuyanjian    时间: 2012-4-5 14:20

百度了n久没结果,http://blog.coverer.net/tag/wdcp 看这个教程做的
作者: admin    时间: 2012-4-5 18:54

./configure --with-php-config=/www/wdlinux/php-5.2.17/bin/php-config --with-gettext




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2