Bug #15674 Updated: Error compiling standard/mail.c
| From: | sniper@php.net | Date: | Thu, 13 Jun 2002 20:34:49 +0000 |
| Subject: | Bug #15674 Updated: Error compiling standard/mail.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10386@lists.php.net to get a copy of this message | ||
ID: 15674
Updated by: sniper@php.net
Reported By: Gerard.Gachelin@univ-reunion.fr
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.1.1
New Comment:
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
And btw. --with-imap-ssl expect the install prefix
of openssl, e.g. /usr/local/ssl
And remove all those '/lib' string from your configure line
as they're bogus, every configure option expects the
install _prefix_ as the value, exception is --with-imap
(which you don't seem to even HAVE in your line and thus you won't get
imap support in your build)
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-02-22 08:04:07] Gerard.Gachelin@univ-reunion.fr
Compiler : gcc 2.95.3
Here is what happens during make :
Making all in 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.)
*** Error code 1
make: Fatal error: Command failed for target `mail.lo'
Current working directory /local/src/php-4.1.1/ext/standard
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /local/src/php-4.1.1/ext/standard
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /local/src/php-4.1.1/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Here is the configure command I used (no error during the configure
phase) :
./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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15674&edit=1