|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-23 23:58 UTC] trza at start dot com dot au
Compiling 4.2.1 on Solaris 8, configure scripts says yes for unix.h when it does not exist so when doing the make leads to a failure, reporting that it cant find unix.h in zend.h. Php 4.1.2 compiles fine. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 03:00:01 2025 UTC |
My system: Solaris 7 GCC 2.95.2 (build from www.sunfreeware.com) Environment vars: EDITOR=vi HOME=/ HZ=100 LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/openwin/lib PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/ucb:/usr/ccs/bin:/usr/local/SUNWspro/bin SHELL=/sbin/sh TERM=dtterm Configuration params: ./configure --prefix=/opt/php421 --with-apxs=/opt/apache/bin/apxs I used a minimal configure setup to illustrate the problem. Configure completes without errors. Make output: # make Making all in Zend /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DUSE_EXPAT -DSHARED_CORE -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: unix.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `zend_language_parser.lo' Current working directory /space/src/php-4.2.1/Zend *** Error code 1 make: Fatal error: Command failed for target `all-recursive' PHP 4.1.2 compiles perfectly on this system, same setup.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