Compiling 4.0.4 pl1 for iPlanet 4.1 on Solaris 2.7
| From: | Wally Hartshorn | Date: | Tue, 27 Feb 2001 22:08:24 +0000 |
| Subject: | Compiling 4.0.4 pl1 for iPlanet 4.1 on Solaris 2.7 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2217@lists.php.net to get a copy of this message | ||
I'm trying to compile PHP 4.0.4 pl1 on a Sun Solaris 2.7 platform to use with iPlanet Web
Server 4.1.
To configure, I run:
configure --with-mysql=/usr/local/mysql --with-nsapi=/usr2/netscape/server/ --enable-track-vars
--enable-libgcc
I then run make, and immediately get the following output:
Making all in Zend
make[1]: Entering directory `/usr4/downloads/do/php-4.0.4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../main
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -g
-O2 -pthreads -c zend_language_scanner_cc.cc
In file included from zend_language_scanner_cc.cc:2571:
zend_operators.h: In function `int is_numeric_string(char *, int, long int *, double *)':
zend_operators.h:84: implicit declaration of function `int finite(...)'
make[1]: *** [zend_language_scanner_cc.lo] Error 1
make[1]: Leaving directory `/usr4/downloads/do/php-4.0.4pl1/Zend'
make: *** [all-recursive] Error 1
Here's my environment:
Sun Solaris 2.7
iPlanet Web Server 4.1 SP 5
gcc 2.95.2
automake 1.4
autoconf 2.13
bison 1.28
flex 2.5.4
m4 1.4
make 3.78.1
Can anyone give me any ideas as to what is wrong? This is a brand new system, with most of the
software downloaded from sunfreeware.com and installed via pkgadd, so it's possible that
there's a configuration problem with one of the packages, but I've no idea where to start
looking.
Thanks,
Wally Hartshorn