Hi,

I am trying to install the latest version of php4 onto my apache linux
server, but it appears to bomb out with an error in the compilation stage...

Here is what it says:

/bin/sh /tmp/php-4.0.4pl1/libtool --silent --mode=compile
gcc  -I. -I/tmp/php-4.
0.4pl1/ext/standard -I/tmp/php-4.0.4pl1/main -I/tmp/php-4.0.4pl1 -I/var/lib/
apac
he/include -I/tmp/php-4.0.4pl1/Zend -I/tmp/php-4.0.4pl1/ext/mysql/libmysql -
I/tm
p/php-4.0.4pl1/ext/xml/expat/xmltok -I/tmp/php-4.0.4pl1/ext/xml/expat/xmlpar
se -
I/tmp/php-4.0.4pl1/TSRM  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORD
ER=1
2 -g -O2  -c microtime.c
microtime.c: In function `php_if_getrusage':
microtime.c:97: storage size of `usg' isn't known
microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function)
microtime.c:100: (Each undeclared identifier is reported only once
microtime.c:100: for each function it appears in.)
microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this function)
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/tmp/php-4.0.4pl1/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.0.4pl1/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

------------

Just wondered if anyone else has had this problem - I'm using gcc 2.95.2 -
the latest version....

Has anyone else had this problem, if not, where am I going wrong?  The above
was done using the default ./configure command as described in the INSTALL
readme file for php4 tar distribution.

Regards...

--
Mark.



-- 
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