[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