Greetings, Thomas. Did you solve this problem? If not, I would suggest getting rid of the "--enable-libgcc" in your ./configure command. Here's how I configured my installation of 4.2.0 for Solaris 8: (Directory names XXX'ed out)
'./configure' '--prefix=XXX' '--enable-cli' '--enable-magic-quotes' '--disable-short-tags' '--enable-bcmath' '--enable-calendar' '--enable-dba=shared' '--enable-dbx' '--enable-dio' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-shmop' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-tokenizer' '--enable-wddx' '--enable-yp' '--enable-inline-optimization' '--with-apxs=XXX' '--with-openssl=shared,XXX' '--with-zlib=shared,XXX' '--with-bz2=shared,XXX' '--with-curl=shared,XXX' '--with-gd=shared,XXX' '--with-ldap=shared,XXX' '--with-mcal=shared,XXX' '--with-mcrypt=shared,XXX' '--with-mnogosearch=shared,XXX' '--with-mysql=shared,XXX' '--with-sybase-ct=shared,XXX' '--with-expat-dir=XXX' I'm building with gcc 3.0.3. Regards, /bsh/ Thomas Finley wrote: > Pleas help. I'm installing php on a Solaris 7 server that is running > iplanet 4.1. > > PHP Version 4.2.1 > > Configure: (I had more compiled in (gd, gdbm...) but error below > occured so I cut it down) > > ./configure --with-nsapi=/usr/netscape/server4 --enable-libgcc \ > --prefix=/usr --with-mysql=/usr/local/mysql --enable-track-vars > > The Error: > > bash-2.05# make > Making all in Zend > make[1]: Entering directory `/usr/share/src/php-4.2.1/Zend' > /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS > -D_REENTRANT -I../TSRM -g -O2 -pthreads -DZTS -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 `/usr/share/src/php-4.2.1/Zend' > make: *** [all-recursive] Error 1 > > Thomas Finley > [EMAIL PROTECTED] > > -- /---------------------------------------------=[ BILLY S HALSEY ]=--\ | Member of Technical Staff, Sun Microsystems, Inc. ESP Solaris SW | | "All opinions and technical advice offered in this message are my | | own and not necessarily endorsed by my employer." | \--=[ [EMAIL PROTECTED] ]=--------------------------------------------/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php