Josh, I had the exact same problem, also gcc3 and solaris 8. I think this is a configuration error in the configure script. To get around it, I created a zero length file unix.h in the main subdirectory:
corona 4.2.1 9 $ ls -l main/unix.h -rw-rw-r-- 1 davidb chelsea 0 Jun 11 11:52 main/unix.h and it compiles and builds just fine. Any PHP developers care to comment? David. ----- On Mon, 1 Jul 2002, Josh Thorstad wrote: > I am running Solaris 8 MU7 I am using GCC to compile the latest PHP, I am > not using any options when running configure. See error messages below. > Thanks > > Josh > > > root@vaco# make > Making all in Zend > /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I../main -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -prefer-non-pic > -static -c -o zend_language_parser.lo `test -f zend_language_parser.c || > echo './'`zend_language_parser.cIn 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 /software/php-4.2.1/Zend > *** Error code 1 > make: Fatal error: Command failed for target `all-recursive' > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php