Bug #18128: zend.h:55: unix.h: No such file or directory

From: Date: Wed, 03 Jul 2002 07:40:17 +0000
Subject: Bug #18128: zend.h:55: unix.h: No such file or directory
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12942@lists.php.net to get a copy of this message
From: steven@hawaii.edu Operating system: Solaris 8 PHP version: 4.2.1 PHP Bug Type: Compile Failure Bug description: zend.h:55: unix.h: No such file or directory We do not have the /usr/include/unix.h file on our system. However, when I executed the following configure statement: # ./configure --with-mysql --with-apxs=/usr/local/pkg/apache/bin/apxs it thought that the unix.h file existed, therefore it set HAVE_UNIX_H to true in the php_config.h file. This led to the make failing as follows: # 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 -DUSE_EXPAT -I../TSRM -g -O2 -pre fer-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/local/src/php-4.2.1/Zend *** Error code 1 make: Fatal error: Command failed for target `all-recursive' # I'm not sure why the configure command is thinking the unix.h file exists. -- Edit bug report at http://bugs.php.net/?id=18128&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18128&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18128&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18128&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18128&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18128&r=support Expected behavior: http://bugs.php.net/fix.php?id=18128&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18128&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18128&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18128&r=globals

« previous php.bugs (#12942) next »