#40638 [NEW]: Error when compiling - APXS related
| From: | sheezes at gmail dot com | Date: | Mon, 26 Feb 2007 12:50:40 +0000 |
| Subject: | #40638 [NEW]: Error when compiling - APXS related | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-109537@lists.php.net to get a copy of this message | ||
From: sheezes at gmail dot com
Operating system: AIX 5.2
PHP version: 5.2.1
PHP Bug Type: Apache related
Bug description: Error when compiling - APXS related
Description:
------------
I try to install latest php on my AIX 5.2 system. I have apache 2.0.47
installed and function well.
When I run the ./configure file with the --with-apxs2 I get an error that
my apache version is 1.3 and I sould use --with-apxs. I did it and the
configure script finished well.
after that, I do the "make" command and it fails.
here is the result of the make command:
/bin/sh /home/shai/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/IBMIHS_MON/include -Isapi/apache/
-I/home/shai/php-5.2.1/sapi/apache/ -DPHP_ATOM_INC
-I/home/shai/php-5.2.1/include -I/home/shai/php-5.2.1/main
-I/home/shai/php-5.2.1 -I/opt/freeware/include/libxml2
-I/home/shai/php-5.2.1/ext/date/lib -I/home/shai/php-5.2.1/TSRM
-I/home/shai/php-5.2.1/Zend -I/usr/include -g -O2 -c
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: "WORDS_BIGENDIAN"
redefined
In file included from /home/shai/php-5.2.1/main/php_compat.h:27,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:35,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/main/php_config.h:1666:1: warning: this is the
location of the previous definition
In file included from /home/shai/php-5.2.1/TSRM/tsrm_config.h:1,
from /home/shai/php-5.2.1/TSRM/tsrm_config_common.h:11,
from /home/shai/php-5.2.1/TSRM/tsrm_virtual_cwd.h:26,
from /home/shai/php-5.2.1/main/php.h:409,
from /home/shai/php-5.2.1/main/php_variables.h:25,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:65,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/home/shai/php-5.2.1/include/../main/php_config.h:964:1: warning:
"WORDS_BIGENDIAN" redefined
In file included from /usr/IBMIHS_MON/include/ap_config.h:269,
from /usr/IBMIHS_MON/include/httpd.h:72,
from
/home/shai/php-5.2.1/sapi/apache/php_apache_http.h:47,
from /home/shai/php-5.2.1/sapi/apache/sapi_apache.c:24:
/usr/IBMIHS_MON/include/ap_config_auto.h:32:1: warning: this is the
location of the previous definition
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c: In function
'apache_php_module_main':
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND'
undeclared (first use in this function)
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: (Each undeclared
identifier is reported only once
/home/shai/php-5.2.1/sapi/apache/sapi_apache.c:44: error: for each
function it appears in.)
make: The error code from the last command is 1.
--
Edit bug report at http://bugs.php.net/?id=40638&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40638&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40638&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40638&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40638&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40638&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40638&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40638&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40638&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40638&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40638&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40638&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40638&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40638&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40638&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40638&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40638&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40638&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40638&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40638&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40638&r=mysqlcfg