Bug #18128 Updated: zend.h:55: unix.h: No such file or directory
| From: | sniper@php.net | Date: | Tue, 16 Jul 2002 13:17:26 +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-14308@lists.php.net to get a copy of this message | ||
ID: 18128
Updated by: sniper@php.net
Reported By: steven@hawaii.edu
Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.2.1
New Comment:
http://snaps.php.net/php4-latest.tar.gz
This is the correct snapshot..
Previous Comments:
------------------------------------------------------------------------
[2002-07-16 07:57:40] m.c.hudson@open.ac.uk
I grabbed the latest stable version from snaps.php.net
however, I'm still getting the same problem.
Same OS - Solaris 8.
Mark
------------------------------------------------------------------------
[2002-07-03 04:25:34] sander@php.net
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.
------------------------------------------------------------------------
[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