Bug #17525 Updated: configure fails to handle missing include-files

From: Date: Wed, 19 Jun 2002 00:05:59 +0000
Subject: Bug #17525 Updated: configure fails to handle missing include-files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11311@lists.php.net to get a copy of this message
ID: 17525 Updated by: sniper@php.net Reported By: eru@php.net -Status: Duplicate +Status: Closed Bug Type: Compile Failure Operating System: SunOS 5.8 PHP Version: 4.2.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-05-30 10:47:54] sniper@php.net It is same thing. And the workaround is the same. ------------------------------------------------------------------------ [2002-05-30 10:41:48] 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:23:44] edink@php.net Dupe of #17218. Some info at #17417 as well. ------------------------------------------------------------------------ [2002-05-30 08:53:58] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17525&edit=1

« previous php.bugs (#11311) next »