php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6394 configure doesn't include sys/resource.h. Fails compiling microtime.c.
Submitted: 2000-08-28 04:40 UTC Modified: 2000-08-28 04:43 UTC
From: lacrosse at sci dot fi Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: Linux Slackware 7.0
Private report: No CVE-ID: None
 [2000-08-28 04:40 UTC] lacrosse at sci dot fi
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-28 04:43 UTC] rasmus@php.net
Your system header files are broken.  Please read: http://www.php.net/FAQ.php#6.12
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 13:00:01 2026 UTC