RE: [PHP-INST] compiling php4.1.1 undersolsris8 broken ?
| From: | ERA) | Date: | Mon, 25 Feb 2002 09:29:12 +0000 |
| Subject: | RE: [PHP-INST] compiling php4.1.1 undersolsris8 broken ? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6147@lists.php.net to get a copy of this message | ||
Hi,
I had problems with Solaris2.6 and php4.1.1
I am using gcc 2.95.2 and Perl 5.003.
Try using 4.0.6! It works fine!
//Mikael
-----Original Message-----
From: Gérard Gachelin [mailto:Gerard.Gachelin@univ-reunion.fr]
Sent: Monday, February 25, 2002 9:01 AM
To: php-install@lists.php.net
Subject: [PHP-INST] compiling php4.1.1 undersolsris8 broken ?
Does anybody succeed compiling php4.1.1, using apxs (apache 1.3.23)
under Solaris 8 ?
Here is what happens during the compilation of ext/standard/mail.c :
/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 line :
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --enable-track-vars
--with-openssl=/usr/local/ssl --with-imap-ssl=/local/src/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=/local/src/mm-1.1.3
--with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
Thanks for any help.
--
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
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php