I just ran into this problem also. comment out the line below in the files Zend/zend.h and main/php.h /* #include <unix.h> */
and run make again. There seems to have a problem with configure script Sung Joo-Yong wrote: > Hi ~ > > I wanna install PHP 4.2.1 on Solaris 2.5.1 > In configuring, I could see unix.h was found on system.. but, whenever I > make, I must see following messages. > > Making all in Zend > /bin/sh ../libtool --silent --mode=compile > gcc -DGAVE_CONFIG_H -I. -I. -I../main > -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -prefer-non-pic -static -c -o > zend_compile.lo `test -f zend_compile.c || echo './'`zend_compile.c > In File included from zend_compile.c:22: > zend.h:55: unix.h: No such file or directory > > I opened zend.h and there was > > #ifdef HAVE_UNIX_H > #include <unix.h> > #endif > > Up to now, I couldn't see such header file in Solaris. Is there any > missing component in my solaris? or > Did I write bad configuration command? I have no idea.. > > Plz Help!!!! > > P.S. Configuration > configure --with-mysql=/usr/local/mysql > --with-apache=/tmp/build/apache_1.3. 3 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php