PHP 4.0 Bug #6394: configure doesn't include sys/resource.h. Fails compiling microtime.c.
| From: | lacrosse at sci dot fi | Date: | Mon, 28 Aug 2000 08:40:15 +0000 |
| Subject: | PHP 4.0 Bug #6394: configure doesn't include sys/resource.h. Fails compiling microtime.c. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30933@lists.php.net to get a copy of this message | ||
From: lacrosse@sci.fi
Operating system: Linux Slackware 7.0
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: configure doesn't include sys/resource.h. Fails compiling microtime.c.
I got the error this way:
$ ./configure --with-mysql --with-apxs=/var/lib/apache
$ make
The error was that size of rusage wasn't known.
It was fixed by defining HAVE_SYS_RESOURCE_H in
php_config.h manually.