Hello,

I configured php4.0.6 with

./configure --with-mysql=/usr/local/mysql/ --with-apxs=/usr/local/apache/bin/apxs 
--enable-force-cgi-redirect

(output looked fine) and the make fails with

/bin/sh /root/sw/php-4.0.6/libtool --silent --mode=compile gcc  -I. 
-I/root/sw/php-4.0.6/main -I/root/sw/php-4.0.6/main
-I/root/sw/php-4.0.6 -I/usr/local/apache/include -I/root/sw/php-4.0.6/Zend 
-I/usr/local/mysql//include/mysql
-I/root/sw/php-4.0.6/ext/xml/expat/xmltok -I/root/sw/php-4.0.6/ext/xml/expat/xmlparse 
-I/root/sw/php-4.0.6/TSRM 
-DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c 
rfc1867.c
/root/sw/php-4.0.6/libtool: Can't reopen pipe to command substitution (fd 7): No child 
processes
/root/sw/php-4.0.6/libtool: -I.: command not found
make[2]: *** [rfc1867.lo] Error 1
make[2]: Leaving directory `/root/sw/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/sw/php-4.0.6/main'
make: *** [all-recursive] Error 1


RedHat Linux 6.2; Apache 1.3.20.

What I found in config.log:

configure:5888: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 5887 "configure"
-----------------
configure:5888: sys/varargs.h: No such file or directory
configure: failed program was:
#line 5887 "configure"
#include "confdefs.h"
--------------------
configure:5888: unix.h: No such file or directory
configure: failed program was:
#line 5887 "configure"
-----------------
configure:6666: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT  
conftest.c -lresolv -lm -ldl -lnsl 
-lresolv 1>&5
/tmp/ccVsZpUo.o: In function `main':
/root/sw/php-4.0.6/configure:6660: undefined reference to `std_syslog'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6643 "configure"
-----------------
configure:6755: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT  
conftest.c -lresolv -lm -ldl -lnsl 
-lresolv 1>&5
/tmp/ccW6nZrM.o: In function `main':
/root/sw/php-4.0.6/configure:6749: undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6732 "configure"
-----------------
configure:6727: checking for strlcpy
configure:6755: gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT  
conftest.c -lresolv -lm -ldl -lnsl 
-lresolv 1>&5
/tmp/cckSpuZn.o: In function `main':
/root/sw/php-4.0.6/configure:6749: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6732 "configure"
-----------------

Tell me if I should post the whole file.

Any hints?

Regards,

Holger

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to