php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4164 configure script not picking up sys/resource.h
Submitted: 2000-04-17 17:24 UTC Modified: 2000-05-13 06:28 UTC
From: rmatthews at telus dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 1 OS: Linux 2.3.99-pre5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rmatthews at telus dot net
New email:
PHP Version: OS:

 

 [2000-04-17 17:24 UTC] rmatthews at telus dot net
Configuring PHP 4.0-RC1, or PHP 3.0.15, or PHP 3.0.15, the configure script fails to detect resource.h.  This may be --with and or --enable dependant, I am unsure, but I don't think it is, as resource.h is required for many core PHP functions/logic.  If it makes a difference, I configured like this :
./configure --with-apache=../apache_1.3.12 --with-mysql --with-mcrypt --with-ftp --with-gd --with-ttf --enable-track-vars --disable debug
            and
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-mcrypt --with-ftp --with-gd --with-ttf --enable-track-vars --disable debug

I even tried removing all but the mysql gd and ttf options, to no avail.  I have not delved into trying to patch the configure script, as I assume it is automagically generated from M4 macros or something similar.  The short term fix was to manually edit php_config.h, however this issue should be addressed.  I have seen other bugs in the database that may also relate to this issue.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-27 13:49 UTC] sas at cvs dot php dot net
Can you give me (sascha@php.net) access to the box? We have not figured out yet what causes the header file to be not found.
 [2000-05-13 06:28 UTC] sas at cvs dot php dot net
We have implemented a workaround for this. Please upgrade to PHP 4.0 RC2.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 30 14:00:01 2026 UTC