From:             [EMAIL PROTECTED]
Operating system: AIX 4.3.3
PHP version:      4.2.3
PHP Bug Type:     Compile Failure
Bug description:  Error in making the binaries

Apache version 1.3.22 has been installed several months ago.
Didn't experience any problem.

Today I tried to install PHP. I ran:
./configure --with-mysql=/usr/local/mysql --with-apache=/usr/local/apache
--enable-track-vars

Afterwards: make
Making all in Zend
make[1]: Entering directory `/usr/local/PHP-4.2.3/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/PHP-4.2.3/Zend'
Making all in main
make[1]: Entering directory `/usr/local/PHP-4.2.3/main'
make[2]: Entering directory `/usr/local/PHP-4.2.3/main'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/usr/local/PHP-4.2.3/main'
make[1]: Leaving directory `/usr/local/PHP-4.2.3/main'
Making all in ext
make[1]: Entering directory `/usr/local/PHP-4.2.3/ext'
Making all in ctype
make[2]: Entering directory `/usr/local/PHP-4.2.3/ext/ctype'
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/ctype'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/ctype'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/ctype'
Making all in mysql
make[2]: Entering directory `/usr/local/PHP-4.2.3/ext/mysql'
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/mysql'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/mysql'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/mysql'
Making all in pcre
make[2]: Entering directory `/usr/local/PHP-4.2.3/ext/pcre'
Making all in pcrelib
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/pcre/pcrelib'
make[4]: Entering directory `/usr/local/PHP-4.2.3/ext/pcre/pcrelib'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/usr/local/PHP-4.2.3/ext/pcre/pcrelib'
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/pcre/pcrelib'
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/pcre'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/pcre'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/pcre'
Making all in posix
make[2]: Entering directory `/usr/local/PHP-4.2.3/ext/posix'
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/posix'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/posix'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/posix'
Making all in session
make[2]: Entering directory `/usr/local/PHP-4.2.3/ext/session'
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/session'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/session'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/session'
Making all in standard
make[2]: Entering directory `/usr/local/PHP-4.2.3/ext/standard'
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/standard'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/standard'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/standard'
Making all in xml
make[2]: Entering directory `/usr/local/PHP-4.2.3/ext/xml'
Making all in expat
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/xml/expat'
make[4]: Entering directory `/usr/local/PHP-4.2.3/ext/xml/expat'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/usr/local/PHP-4.2.3/ext/xml/expat'
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/xml/expat'
make[3]: Entering directory `/usr/local/PHP-4.2.3/ext/xml'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/PHP-4.2.3/ext/xml'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/xml'
make[2]: Leaving directory `/usr/local/PHP-4.2.3/ext/xml'
make[1]: Leaving directory `/usr/local/PHP-4.2.3/ext'
Making all in sapi
make[1]: Entering directory `/usr/local/PHP-4.2.3/sapi'
Making all in apache
make[2]: Entering directory `/usr/local/PHP-4.2.3/sapi/apache'
make[3]: Entering directory `/usr/local/PHP-4.2.3/sapi/apache'
gcc -I. -I/usr/local/PHP-4.2.3/sapi/apache -I/usr/local/PHP-4.2.3/main
-I/usr/lo
cal/PHP-4.2.3 -I/usr/local/apache/src/include
-I/usr/local/apache/src/os/unix -I
/usr/local/PHP-4.2.3/Zend -I/usr/local/mysql/include
-I/usr/local/PHP-4.2.3/ext/
xml/expat -I/usr/local/apache/src/include -I/usr/local/apache/src/os/unix
-I/usr
/local/PHP-4.2.3/TSRM -O2  -c sapi_apache.c && touch sapi_apache.lo
In file included from /usr/local/apache/src/include/ap_config.h:77,
                 from /usr/local/apache/src/include/httpd.h:72,
                 from sapi_apache.c:32:
/usr/local/apache/src/include/ap_config_auto.h:6: unterminated `#if'
conditional
In file included from /usr/local/apache/src/include/httpd.h:72,
                 from sapi_apache.c:32:
/usr/local/apache/src/include/ap_config.h:1365: warning: `XtOffsetOf'
redefined
/usr/local/PHP-4.2.3/main/php.h:344: warning: this is the location of the
previo
us definition
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/usr/local/PHP-4.2.3/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/PHP-4.2.3/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/PHP-4.2.3/sapi'
make: *** [all-recursive] Error 1

How could I fix this problem?


-- 
Edit bug report at http://bugs.php.net/?id=20259&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20259&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20259&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20259&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20259&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20259&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20259&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20259&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20259&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20259&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20259&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20259&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20259&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20259&r=isapi

Reply via email to