php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10243 sys/resource.h file incorrectly not included
Submitted: 2001-04-09 10:40 UTC Modified: 2001-05-29 15:54 UTC
From: jules at acris dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: linux 2.4/glibc 2.1
Private report: No CVE-ID: None
 [2001-04-09 10:40 UTC] jules at acris dot co dot uk
Running the configure script on my system (a SuSE 6.3 system upgraded to kernel 2.4 and glibc 2.1) causes the
classic 'microtime.c' errors as described in the FAQ,
except that the local header files are not incorrect in any fashion and edit main/php_config.h to define HAVE_SYS_RESOURCE_H causes the problem to go away.  

This appears therefore to be an error in the configure script - should this definition not be included whenever sys/resource.h exists?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-29 15:54 UTC] sniper@php.net
Try PHP 4.0.6RC1 from http://www.php.net/~andi/php-4.0.6RC1.tar.gz
as the configure script DOES check if sys/resource.h
exists. If it can't find it there's definately something 
wrong in your system.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 18:01:34 2024 UTC