[PHP-DEV] PHP 4.0 Bug #6596: From: adrian.keeling <email protected>
Date: 09/07/00

From: adrian.keeling <email protected>
Operating system: Unixware 7.1
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description:

I've tried various configurations but the following is one of the most simple (I've also tried without any options!)

----------------------
./configure --with-apache=../apache_1.3.12 --enable-track-vars
# make clean
# make
----------------------

the make for this particular config bombs out with:-
----------------------
        cc -I. -I/usr/local/src/php-4.0.2/ext/standard -I/usr/local/src/php-4.0
.2 -I/usr/local/src/php-4.0.2/main -I/usr/local/src/php-4.0.2/Zend -I/usr/local/
src/php-4.0.2 -I/usr/local/src/php-4.0.2/ext/mysql/libmysql -I/usr/local/src/php
-4.0.2/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.2/ext/xml/expat/xmlparse -
DXML_BYTE_ORDER=12 -g -c mail.c && touch mail.lo
UX:acomp: ERROR: "mail.c", line 28: cannot find include file: <sysexits.h>
UX:acomp: ERROR: "mail.c", line 155: undefined symbol: EX_TEMPFAIL
UX:acomp: WARNING: "mail.c", line 165: statement not reached
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
-------------------
I then altered config_vars.mk so that the INCLUDES had -I/usr/ucbinclude

and make bombed out with:-
----------------------
        cc -I. -I/usr/local/src/php-4.0.2/main -I/usr/local/src/php-4.0.2 -I/us
r/local/src/php-4.0.2/main -I/usr/local/src/php-4.0.2/Zend -I/usr/local/src/php-
4.0.2 -I/usr/local/src/php-4.0.2/ext/mysql/libmysql -I/usr/local/src/php-4.0.2/e
xt/xml/expat/xmltok -I/usr/local/src/php-4.0.2/ext/xml/expat/xmlparse -I/usr/ucb
include -DXML_BYTE_ORDER=12 -g -c fopen-wrappers.c && touch fopen-wrappers.lo
UX:acomp: ERROR: "fopen-wrappers.c", line 946: undefined symbol: STDIN_FILENO
UX:acomp: ERROR: "fopen-wrappers.c", line 948: undefined symbol: STDOUT_FILENO
UX:acomp: ERROR: "fopen-wrappers.c", line 950: undefined symbol: STDERR_FILENO
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

 

                    

                                

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>