error compiling php 4.1.1
| From: | Gérard Gachelin | Date: | Fri, 22 Feb 2002 11:08:30 +0000 |
| Subject: | error compiling php 4.1.1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6124@lists.php.net to get a copy of this message | ||
Hello,
Now I can't compile php 4.1.1 under Solaris 8 (gcc 2.95.3).
make crashes with the following message :
gmake[3]: Entering directory `/local/src/php-4.1.1/ext/standard'
/bin/sh /local/src/php-4.1.1/libtool --silent --mode=compile gcc -I. -I/local/src/php-4.1.1/ext/standard -I/local/src/php-4.1.1/main -I/local/src/php-4.1.1 -I/usr/local/apache/include -I/local/src/php-4.1.1/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/mysql/include -I/local/src/php-4.1.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208106 -DMOD_PERL -DUSE_PERL_SSI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT -I/local/src/php-4.1.1/TSRM -g -O2 -prefer-pic -c mail.c
mail.c: In function `php_mail':
mail.c:191: `EX_OK' undeclared (first use in this function)
mail.c:191: (Each undeclared identifier is reported only once
mail.c:191: for each function it appears in.)
gmake[3]: *** [mail.lo] Error 1
gmake[3]: Leaving directory `/local/src/php-4.1.1/ext/standard'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/local/src/php-4.1.1/ext/standard'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/local/src/php-4.1.1/ext'
gmake: *** [all-recursive] Error 1
Here is the configure I used :
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --with-openssl=/usr/local/ssl --with-imap-ssl=../imap-2001a --with-gd --with-ldap=/usr/local --enable-ftp --enable-sysvsem --enable-sysvshm --enable-sockets --with-pdflib=/usr/local/lib --with-gettext --with-mm=../mm-1.1.3 --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
No error message in the log file.
--
--
Gerard Gachelin Universite de la Reunion
15, Avenue Rene Cassin - BP 7151 97715 Saint-Denis MESSAG-CEDEX 9
Tel: 0262 93 82 72 Fax: 0262 93 82 60
Email : Gerard.Gachelin@univ-reunion.fr