PHP 4.0 Bug #7048 Updated: Less complete getrusage causes compile failure

From: Date: Sun, 31 Dec 2000 01:30:16 +0000
Subject: PHP 4.0 Bug #7048 Updated: Less complete getrusage causes compile failure
Groups: php.dev 
Request: Send a blank email to php-dev+get-42730@lists.php.net to get a copy of this message
ID: 7048 Updated by: sniper Reported By: jbg@nb.com Old-Status: Feedback Status: Closed Bug Type: *Install and Config Assigned To: Comments: No feedback. Reopen if problem still exists with PHP 4.0.4 --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-28 06:59:28] sniper@php.net Could you please try the latest snapshot from http://snaps.php.net/ to check if this is already been fixed or not. --Jani --------------------------------------------------------------------------- [2000-10-06 00:05:23] jbg@nb.com THE PROBLEM: "make" compile fails for some routines in the "main" subdir. THE REASON: "configure" finds "getrusage". But our "struct rusage" is incomplete WHAT WE HAVE: In /usr/include/sys/resource.h we find: struct rusage { struct timeval ru_utime; struct timeval ru_stime; }; int getrusage(int, struct rusage *); THE MANUAL WORK-AROUND: Change the config.cache entry for "getrusage" to "no" and rerun "configure". --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7048

« previous php.dev (#42730) next »