php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12629 small compile errors
Submitted: 2001-08-07 13:47 UTC Modified: 2001-10-24 16:35 UTC
From: chris at okanagan dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2001-08-07 OS: SCO OpenServer 5.x
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: chris at okanagan dot net
New email:
PHP Version: OS:

 

 [2001-08-07 13:47 UTC] chris at okanagan dot net
SCO Openserver 5.x does not have the
getrusage function, the configure command seems
to detect it, I always have to edit it out by hand.
-------
also
CFLAGS="-g -O2" 
need to be changed to
CFLAGS = "-s -O2 -belf"

otherwise it compiles with the debug option and
configure can't find or use the dynamic libraries
such as zlib, gd .etc.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 09:53 UTC] sniper@php.net
SCO openserver 5.x DOES have getrusage. At least 
quick search with Google brought some pages about it.
You might have the issue of not having correct LD_LIBRARY_PATH set. 

What are the errors you get if you don't edit it out?

--Jani


 [2001-10-24 16:35 UTC] sniper@php.net
As using following worked with latest CVS, I'm closing this bug. This is not actually a bug in PHP but in the libtool. You should submit a bug report to the libtool authors instead.

# CFLAGS="-s -O -belf"
# export CFLAGS
# ./configure <with the needed options>

--Jani


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 06:01:29 2025 UTC