Hi there.       
I had already successfully compiled php3 and 4 in the past but never
version php-4.0.4 stable.

I'm using:
        Linux version 2.2.12-20 
        gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
        php-4.0.4

After making a simple configure to build PHP as static apache module I
get the next error:

gcc  -I. -I/root/packages/php-4.0.4/ext/standard
-I/root/packages/php-4.0.4/main -I/root/packages/php-4.0.4
-I/root/packages/apache_1.3.12/src/include
-I/root/packages/apache_1.3.12/src/os/unix
-I/root/packages/php-4.0.4/Zend
-I/root/packages/php-4.0.4/ext/mysql/libmysql
-I/root/packages/php-4.0.4/ext/xml/expat/xmltok
-I/root/packages/php-4.0.4/ext/xml/expat/xmlparse
-I/root/packages/php-4.0.4/TSRM  -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 `/root/packages/php-4.0.4/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/packages/php-4.0.4/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/packages/php-4.0.4/ext'
make: *** [all-recursive] Error 1



Any ideas of what is happening?


Sam


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