ID: 40268
Updated by: [EMAIL PROTECTED]
Reported By: thomastja at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Aix 5.3
PHP Version: 4.4.4
New Comment:
Works just fine with PHP 5.2, Apache 2.2.4, GCC 3.4.5 and native LD on
AIX 5.1.
Previous Comments:
------------------------------------------------------------------------
[2007-01-31 01:17:04] thomastja at gmail dot com
I retry again using the following:
Apache_1.3.37 with php-4.4.4
and the make install was successfull.
So I clean up the system and retry again using
Apache_2.2.3 and php-4.4.4
but this time the make install failed with
apxs:Error: Command failed with rc=65536
I think my env is ok and suspect the error
is with apache 2 and php 4 make install.
Have anyone got this mix working?
------------------------------------------------------------------------
[2007-01-30 09:06:01] [EMAIL PROTECTED]
Are you sure GNU ld was used in the build?
Do you see any error messages that might be related to the problem?
------------------------------------------------------------------------
[2007-01-30 04:26:07] thomastja at gmail dot com
I have install the GNU ld
bash-3.00# ld -version
GNU ld version 2.14 20030612
and found that it produce the same result.
------------------------------------------------------------------------
[2007-01-29 21:23:04] [EMAIL PROTECTED]
One of the possible reasons is your LD.
Try with GNU ld, please.
------------------------------------------------------------------------
[2007-01-29 11:28:16] thomastja at gmail dot com
I retry the whole setup with php-5.2.0
and got the following during the make install
Installing PHP SAPI module: apache2handler
/fpx/usr/apache/build/instdso.sh
SH_LIBTOOL='/fpx/usr/apache/build/libtool' libphp5.la
/fpx/usr/apache/modules
rm -f /fpx/usr/apache/modules/libphp5.so
/fpx/usr/apache/build/libtool --mode=install cp libphp5.la
/fpx/usr/apache/modules/
cp .libs/libphp5.a /fpx/usr/apache/modules/libphp5.a
cp .libs/libphp5.lai /fpx/usr/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/fpx/install/php/php-5.2.0/libs'
chmod 755 /fpx/usr/apache/modules/libphp5.so
chmod: /fpx/usr/apache/modules/libphp5.so: A file or directory in the
path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.
>><<
ls of php libs return
bash-3.00# ls -al libs
total 38528
drwxr-xr-x 2 root system 256 Jan 29 19:19 .
drwxr-xr-x 18 1002 1002 4096 Jan 29 19:19 ..
-rw-r--r-- 1 root system 19717099 Jan 29 19:19 libphp5.a
-rw-r--r-- 1 root system 1429 Jan 29 19:19 libphp5.la
>><<<
It seems to me that libtool is failing to create the libphp5.so. Any
idea why ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40268
--
Edit this bug report at http://bugs.php.net/?id=40268&edit=1