Hello Just tried to compile PHP 4.2.1 and I got the following error:
[thomasb@stinky php-4.2.1 149/2] % uname -a SunOS stinky 5.8 Generic_108528-10 sun4u sparc [thomasb@stinky php-4.2.1 150/0] % ./configure --with-mysql \ --with-apxs="${INSTALL_BASE}/${APNAME}/sbin/apxs" \ --enable-sysvsm --enable-sysvshm \ --with-system-regex --enable-memory-limit \ --enable-discard-path --enable-safe-mode \ --with-config-file-path=${INSTALL_BASE}/${APNAME}/conf \ --with-gd=${INSTALL_BASE}/gd-1.8.4 --without-mod_charset \ --with-imap="/scratch/pine4.42/c-client/lib" \ --with-gdbm=/sw --disable-debug \ --prefix=${INSTALL_BASE}/${APNAME} \ --enable-track-vars \ --with-zlib --with-pdflib-dir=/sw/pkgs/pdflib-3.0 \ --with-jpeg-dir=/sw/pkgs/jpeg-6b \ --with-mm=/sw \ --with-db3=/sw \ --enable-dba --with-imap-ssl [thomasb@stinky php-4.2.1 151/0] % make Making all in Zend make[1]: Entering directory `/scratch/Apache/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=208109 -DEAPI -DEAPI_MM -I../TSRM -fPIC -fPIC -I/scratch/Apache/apache_1.3.26/src/include -I/scratch/Apache/apache_1.3.26/src/os/unix -I/sw/include -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 `/scratch/Apache/php-4.2.1/Zend' make: *** [all-recursive] Error 1 I haven't got a unix.h. And I didn't found an unix.h by searching with 'find / -name unix.h'. How can I fix this? Thx, Thomas -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php