PHP 4.0 Bug #4164: configure script not picking up sys/resource.h

From: Date: Mon, 17 Apr 2000 21:24:50 +0000
Subject: PHP 4.0 Bug #4164: configure script not picking up sys/resource.h
Groups: php.dev 
Request: Send a blank email to php-dev+get-17978@lists.php.net to get a copy of this message
From: rmatthews@telus.net Operating system: Linux 2.3.99-pre5 PHP version: 4.0 Release Candidate 1 PHP Bug Type: Compile Failure Bug description: configure script not picking up sys/resource.h 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.

« previous php.dev (#17978) next »