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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jbg at nb dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC