From: [EMAIL PROTECTED]
Operating system: Solaris 5.8
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: Make fail with php 4.2.1 on Solaris 5.8
I've tried to compile PHP-4.2.1 on Solaris 5.8.
Here is my "configure" option:
------------------------------
./configure --prefix=/data/php-4.2.1 --with-mysql
--with-apxs=/data/www/bin/apxs --with-oci8=/data/oracle/v817
--with-gd=/usr/local
...
Here is the output of "make":
-----------------------------
Making all in Zend
make[1]: Entering directory `/tmp/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208105
-DEAPI -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: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/tmp/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
PHP 4.1.2 compiles just fine.... There no "unix.h"
--
Edit bug report at http://bugs.php.net/?id=17270&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17270&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17270&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17270&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17270&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17270&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17270&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17270&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17270&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17270&r=globals