php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17525 configure fails to handle missing include-files
Submitted: 2002-05-30 08:53 UTC Modified: 2002-06-18 20:05 UTC
From: eru@php.net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: SunOS 5.8
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eru@php.net
New email:
PHP Version: OS:

 

 [2002-05-30 08:53 UTC] eru@php.net
When running configure, it claims to find unix.h, but there is no such file on the system, same thing with sys/sysexits.h. Fact is, it "recognizes" all include-files in this for-statement. I checked it with 4.1.2, this configure works properly, strangely it has the same for-loop as the 4.2.1-configure, so the problem lies somewhat deeper in the script.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-30 10:23 UTC] edink@php.net
Dupe of #17218. Some info at #17417 as well.
 [2002-05-30 10:41 UTC] eru@php.net
IMHO this is not a duplicate. gcc is recognized correctly, I also have not these cc: not found errors. I simply get a

/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208108 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../TSRM  -g -O2 -prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
                 from zend_language_parser.c:147:
zend.h:55: unix.h: No such file or directory

which is quite different from #17417. What may be the case though is, that autoconf is the reason for this behaviour as well...summa summarum you can say, that 4.2.1 is not working on SunOS 5.8 and I'd like to ask the QA-Team (including myself), why this wasn't detected in the RC-phase...

 [2002-05-30 10:47 UTC] sniper@php.net
It is same thing. And the workaround is the same.

 [2002-06-18 20:05 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-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 24 16:00:02 2025 UTC