Bug #17286 Updated: PHP4.2.1 fails to compile on Solaris 8 (02/02)

From: Date: Tue, 21 May 2002 01:14:57 +0000
Subject: Bug #17286 Updated: PHP4.2.1 fails to compile on Solaris 8 (02/02)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8049@lists.php.net to get a copy of this message
ID: 17286 Updated by: edink@php.net Reported By: michel.jansens@ulb.ac.be -Status: Open +Status: Closed Bug Type: *Compile Issues Operating System: Solaris 8 (02/02) PHP Version: 4.2.1 New Comment: Due to the bug in autoconf on Solaris you need to configure php with: CC=gcc ./configure... Previous Comments: ------------------------------------------------------------------------ [2002-05-20 15:57:33] matt@mail4friends.com The code in the configure script changed between 4.2.0 and 4.2.1, probably meaning a newer autoconf version was used. This newer code falsely detects the unix.h header as being present on the system. See starting line 6697 in 4.2.1 configure vs line 8580 in 4.2.0 configure for code differences. ------------------------------------------------------------------------ [2002-05-17 05:42:05] michel.jansens@ulb.ac.be ./configure --with-apxs=/usr/products/apache/bin/apxs make Making all in Zend /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 *** Error code 1 make: Fatal error: Command failed for target `zend_language_parser.lo' Current working directory /usr/products/src/php-4.2.1/Zend *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17286&edit=1

« previous php.bugs (#8049) next »