php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7048 Less complete getrusage causes compile failure
Submitted: 2000-10-06 00:05 UTC Modified: 2000-12-30 20:30 UTC
From: jbg at nb dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.2 OS: dynix/ptx/4.4.6
Private report: No CVE-ID: None
 [2000-10-06 00:05 UTC] jbg at nb dot 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".


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-28 06:59 UTC] 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-12-30 20:30 UTC] sniper@php.net
No feedback. Reopen if problem still exists with PHP 4.0.4

--Jani
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 22 23:04:45 2023 UTC