php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15674 Error compiling standard/mail.c
Submitted: 2002-02-22 08:04 UTC Modified: 2002-07-14 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: Gerard dot Gachelin at univ-reunion dot fr Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.1.1 OS: Solaris 8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-02-22 08:04 UTC] Gerard dot Gachelin at univ-reunion dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-13 16:34 UTC] 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-07-14 01:00 UTC] php-bugs at lists dot php dot net
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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC