php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5981 failure on compile
Submitted: 2000-08-05 04:27 UTC Modified: 2000-08-05 05:59 UTC
From: alexk at icnt dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (05/08/2000) OS: Linux RH6.1 glibc-2.1.3
Private report: No CVE-ID: None
 [2000-08-05 04:27 UTC] alexk at icnt dot net
While compiling PHP-4.0.1 for apache:
./configure --with-mysql=/opt/db/mysql/mysql --with-xml --with-apache=/usr/src/apache_2.0_alpha5 --enable-track-vars

It generates an error on compile:


os/unix -I/usr/src/apache_2.0_alpha5/src/lib/apr/include -I/usr/src/php-4.0.1pl2/Zend -I/usr/src/php-4.0.1pl2 -I/opt/db/mysql/mysql/include -I/usr/src/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/src/php-4.0.1pl2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c microtime.c && touch microtime.lo
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 `/usr/src/php-4.0.1pl2/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.1pl2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.1pl2/ext'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-05 05:59 UTC] rasmus@php.net
You have a couple of problems here. 

First, your /usr/include/asm and /usr/include /linux symlinks are not pointing to the right place.

Second, there is no support for Apache-2.0 in PHP yet.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 08 11:00:01 2026 UTC