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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Fri Dec 27 13:01:27 2024 UTC