Bug #15674 Updated: Error compiling standard/mail.c

From: Date: Sun, 14 Jul 2002 05:00:06 +0000
Subject: Bug #15674 Updated: Error compiling standard/mail.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14119@lists.php.net to get a copy of this message
ID: 15674 Updated by: php-bugs@lists.php.net Reported By: Gerard.Gachelin@univ-reunion.fr -Status: Feedback +Status: No Feedback Bug Type: Compile Failure Operating System: Solaris 8 PHP Version: 4.1.1 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-06-13 16:34:49] sniper@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#14119) next »