[PHP-DEV] PHP 4.0 Bug #7048 Updated: Less complete getrusage causes compile failure From: sniper <email protected>
Date: 12/30/00

ID: 7048
Updated by: sniper
Reported By: jbg <email protected>
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 <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>