|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-03 04:25 UTC] sander@php.net
[2002-07-16 07:57 UTC] m dot c dot hudson at open dot ac dot uk
[2002-07-16 09:17 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 12:00:01 2025 UTC |
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.