ID: 40728
User updated by: sheezes at gmail dot com
Reported By: sheezes at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: *Compile Issues
Operating System: AIX 5.3
PHP Version: 5.2.1
New Comment:
configure:105699: checking for executable suffix
configure:105900: checking for c++
configure:105932: checking whether the C++ compiler (g++ -Wl,-brtl)
works
configure:105948: g++ -o conftest -Wl,-brtl conftest.C 1>&5
configure:105974: checking whether the C++ compiler (g++ -Wl,-brtl)
is a cross-compiler
configure:105979: checking whether we are using GNU C++
configure:106007: checking whether g++ accepts -g
configure:106056: g++ -c -g -O2 conftest.C 1>&5
configure:106073: g++ -c -g -O2 conftest.C 1>&5
configure: In function 'int main()':
configure:106069: error: 'exit' was not declared in this scope
configure: failed program was:
#line 106066 "configure"
#include "confdefs.h"
int main() {
exit (42);
; return 0; }
configure:106056: g++ -c -g -O2 conftest.C 1>&5
configure:106073: g++ -c -g -O2 conftest.C 1>&5
configure:106095: checking how to run the C++ preprocessor
configure:106144: checking the maximum length of command line arguments
configure:106245: checking command to parse /usr/bin/nm -B output from
gcc object
configure:106434: checking for objdir
configure:106500: checking for ar
configure:106567: checking for ranlib
configure:106634: checking for strip
configure:106971: checking if gcc static flag works
configure:107021: checking if gcc supports -fno-rtti -fno-exceptions
configure:107071: checking for gcc option to produce PIC
configure:107341: checking if gcc supports -c -o file.o
configure:107412: checking whether the gcc linker (/usr/bin/ld)
supports shared libraries
configure:107770: gcc -o conftest -I/usr/include -g -O2 -Wl,-brtl
conftest.c 1>&5
configure:108309: checking dynamic linker characteristics
configure:108883: checking how to hardcode library paths into programs
configure:108921: checking whether stripping libraries is possible
configure:109506: checking if libtool supports shared libraries
configure:109510: checking whether to build shared libraries
configure:109533: checking whether to build static libraries
configure:110202: checking for ld used by g++
configure:110274: checking if the linker (/usr/bin/ld) is GNU ld
configure:110340: checking whether the g++ linker (/usr/bin/ld)
supports shared libraries
configure:110441: g++ -o conftest -g -O2 -Wl,-brtl conftest.cpp 1>&5
configure:111180: g++ -c -g -O2 conftest.cpp 1>&5
configure:111290: checking for g++ option to produce PIC
configure:111624: checking if g++ supports -c -o file.o
configure:111695: checking whether the g++ linker (/usr/bin/ld)
supports shared libraries
configure:111781: checking dynamic linker characteristics
configure:112355: checking how to hardcode library paths into programs
configure:112393: checking whether stripping libraries is possible
Previous Comments:
------------------------------------------------------------------------
[2007-03-06 10:50:00] [EMAIL PROTECTED]
What do you see in your config.log?
------------------------------------------------------------------------
[2007-03-06 06:59:34] sheezes at gmail dot com
# / > echo `/usr/local/apache2/bin/apxs -q
SBINDIR`/`/usr/local/apache2/bin/apxs -q TARGET`
/usr/local/apache2/bin/httpd
# / > /usr/local/apache2/bin/httpd -v
Server version: Apache/2.0.59
Server built: Mar 5 2007 16:33:35
------------------------------------------------------------------------
[2007-03-05 15:56:56] [EMAIL PROTECTED]
What do you see in your config.log?
What do you get with these commands:
echo `/usr/local/apache2/bin/apxs -q
SBINDIR`/`/usr/local/apache2/bin/apxs -q TARGET`
/usr/local/apache2/bin/httpd -v
?
------------------------------------------------------------------------
[2007-03-05 14:34:43] sheezes at gmail dot com
Description:
------------
Hello,
I have AIX 5.3 system and I'm running apache version 2.0.59 (latest on
the 2.0.x series)
I'm trying to run and configure latest php with it but I'm running into
a problem when the configure script needs to identify my apache
version.
my configure line is simple: ./configure
--with-apxs2=/usr/local/apache2/bin/apxs
The configure script says that I have apache 1.3 and should use
--with-apx (drop the "2"). If I do that, the script run well but at the
end I get a warning saying my apxs script is most likely broken and
reffers me to the php faq. I read the faq but it didn't help.
I'm almost 100% sure the problem is with the configure script that
identify my apache as 1.3 instead of 2.x
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40728&edit=1