Bug #17661 Updated: Zend compile fails on unix.h
| From: | sniper@php.net | Date: | Wed, 19 Jun 2002 00:02:08 +0000 |
| Subject: | Bug #17661 Updated: Zend compile fails on unix.h | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11306@lists.php.net to get a copy of this message | ||
ID: 17661
Updated by: sniper@php.net
Reported By: manuka@nerdherd.net
-Status: Duplicate
+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-06-09 11:59:11] manuka@nerdherd.net
I tried that as well, no luck. the configure script is telling me it's
finding it, but unix.h doesn't exist anywhere in the system. Flushing
the config cache and rerunning seems to fix.
------------------------------------------------------------------------
[2002-06-09 08:15:08] markonen@php.net
There are also many reports that CC=gcc doesn't help. It
doesn't solve the issue for me.
------------------------------------------------------------------------
[2002-06-09 06:34:21] sander@php.net
Erm, that should be
CC=gcc
------------------------------------------------------------------------
[2002-06-09 06:33:54] sander@php.net
Configure with CC=GCC. And search the bugdb, there are tons of reports
about this bug.
------------------------------------------------------------------------
[2002-06-08 22:13:30] manuka@nerdherd.net
I found a smiliar problem in bug #16833, and tried the provided
configure script, with no luck.
Using automake 2.53.
schizo [38]# make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DMOD_PERL -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:19: unix.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /export/temp/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
schizo [39]#
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17661&edit=1