php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18353 Solution to compile problem with Solaris 8/MySQL/LDAP
Submitted: 2002-07-15 10:16 UTC Modified: 2002-07-15 20:29 UTC
From: erick dot staal at pinkroccade dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-07-15 10:16 UTC] erick dot staal at pinkroccade dot com
When gcc is installed on Solaris 8 and there is no symlink from the gcc executable to cc, compilation of PHP 4.2.1 fails because of apparently missing header files. When this symlink is present compilation succeeds.

Apparently, when looking in config.log, the test part of the configure fails when cc is not present because cc is needed for compiling the test script written in C. (For example testing for the presence of unix.h). The basic error consists of the fact that if the test fails the header file is assumed to be present and of course the hard reference to CC instead of ${CC}.

Hope this can be fixed in a new version.


Thx, Erick


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-15 20:29 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 22:00:01 2026 UTC