ID: 42318
User updated by: rainer dot tammer at schulergroup dot com
Reported By: rainer dot tammer at schulergroup dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: AIX 5.2/5.3
PHP Version: 5.2.3
New Comment:
Hello,
I started building PHP from 5.2 on. The error is present in 5.2.1 -
5.2.3.
I will build 5.2.3 from the unmodified source. As soon as the build is
finished I will post the exact error message.
I use XL C/C++ 8.0 and libtool 1.5.x. I tested this on AIX 5.2 and 5.3.
This are currently the only supported AIX versions. AIX 5.1 and 4.x is
desupported.
Bye
Rainer
Previous Comments:
------------------------------------------------------------------------
[2007-08-16 13:36:07] jani@php.net
What exactly was the error you got? And has this worked in earlier AIX
systems with exactly same way of building it?
------------------------------------------------------------------------
[2007-08-16 13:04:28] rainer dot tammer at schulergroup dot com
Description:
------------
During the AIX build nm could not find the .o files.
Reproduce code:
---------------
export CC=cc_r
export CXX=xlC_r
./configure \
--disable-ipv6 \
--with-libxml-dir=/usr/local \
--with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-zlib=/opt/freeware \
--with-jpeg-dir=/opt/freeware \
--with-png-dir=/opt/freeware \
--with-gd \
--enable-gd-native-ttf \
--enable-mbstring \
--with-curl=/usr/local \
--enable-ftp
Expected result:
----------------
On recent AIX systems the .o files are placed in .libs/xxx.o
./sapi/cgi/config9.m4
BUILD_CGI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'\` | ...
-> change
BUILD_CGI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/.libs\/\1.o/g'\` | ...
./sapi/cli/config.m4
BUILD_CLI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'\` | ...
-> change
BUILD_CLI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/.libs\/\1.o/g'\` | ...
With the above changes (and a newly generated configre) the build
completes withot errors.
Is this an acceptable solution to the build problem ??
Bye
Rainer
Actual result:
--------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42318&edit=1