Bug #18128 Updated: zend.h:55: unix.h: No such file or directory
| From: | sander@php.net | Date: | Wed, 03 Jul 2002 08:25:34 +0000 |
| Subject: | Bug #18128 Updated: zend.h:55: unix.h: No such file or directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12945@lists.php.net to get a copy of this message | ||
ID: 18128
Updated by: sander@php.net
Reported By: steven@hawaii.edu
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 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-07-03 03:40:16] steven@hawaii.edu
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 this bug report at http://bugs.php.net/?id=18128&edit=1