Re: Bug #12629 Updated: small compile errors
| From: | Chris Loelke | Date: | Tue, 23 Oct 2001 15:12:11 +0000 |
| Subject: | Re: Bug #12629 Updated: small compile errors | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68834@lists.php.net to get a copy of this message | ||
password does not work.... sorry
updated info,
the bug is in the configure script, if you edit all references to the cflags
and change them as per below, getrusage works fine.
At 01:53 PM 23/10/01 +0000, you wrote:
ID: 12629 Updated by: sniper Reported By: chris@okanagan.net Old Status: Open Status: Feedback Bug Type: Compile Failure Operating System: SCO OpenServer 5.x PHP Version: 4.0CVS-2001-08-07 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2001-08-07 13:47:31] chris@okanagan.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. ------------------------------------------------------------------------ ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=12629&edit=2