Bug #17401 Updated: Fails to compile Zend , cannot find unix.h
| From: | deutscje at clarkson dot edu | Date: | Thu, 18 Jul 2002 12:53:22 +0000 |
| Subject: | Bug #17401 Updated: Fails to compile Zend , cannot find unix.h | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14525@lists.php.net to get a copy of this message | ||
ID: 17401
Updated by: deutscje@clarkson.edu
Reported By: trza@start.com.au
Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.2.1
New Comment:
I had the same problem compiling on Solaris 8. Using CC=gcc
./configure yadayadayada it worked fine. Thanks for the help!
Previous Comments:
------------------------------------------------------------------------
[2002-07-01 08:23:16] sniper@php.net
Reported fixed in CVS (has configure generated with autoconf 2.53)
------------------------------------------------------------------------
[2002-06-11 12:39:44] csvieira@epm.net.co
I had the same problem and tried CC=gcc ./configure .... as said here
and it worked fine.
------------------------------------------------------------------------
[2002-06-10 06:35:48] sniper@php.net
..and remember to delete config.cache before a new configure!!
------------------------------------------------------------------------
[2002-06-10 06:19:04] mfischer@php.net
Better not skip Zend.h, it's a core component . . .
Did you test CC=gcc ./configure ... ?
------------------------------------------------------------------------
[2002-06-10 06:16:23] jmora@symlabs.com
I've the same problem. After a succesfully ./configure, the make fails
with this output error report. I tried to find unix.h in the whole
system without results.
My OS: Solaris 8
PHP: 4.2.1
Output report
Making all in Zend
make[1]: Entering directory `/var/tmp/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -O2
-I/usr/local/ssl/include -prefer-non-pic -static -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
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/var/tmp/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
How can I skip Zend??
regards
jorge moratilla
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17401
--
Edit this bug report at http://bugs.php.net/?id=17401&edit=1