#40268 [Fbk->Opn]: PHP make install failed to create
ID: 40268 User updated by: thomastja at gmail dot com Reported By: thomastja at gmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Aix 5.3 PHP Version: 4.4.4 New Comment: 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? Previous Comments: [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 ? [2007-01-29 11:19:18] thomastja at gmail dot com # gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.0.0 # ld -V ld: LD 1.64 (08/19/2003) # /fpx/usr/apache/build/libtool --version ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Hope the info helps. All comments are welcome. 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
#40268 [Fbk->Opn]: PHP make install failed to create
ID: 40268 User updated by: thomastja at gmail dot com Reported By: thomastja at gmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Aix 5.3 PHP Version: 4.4.4 New Comment: 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. Previous Comments: [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 ? [2007-01-29 11:19:18] thomastja at gmail dot com # gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.0.0 # ld -V ld: LD 1.64 (08/19/2003) # /fpx/usr/apache/build/libtool --version ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Hope the info helps. All comments are welcome. [2007-01-29 08:49:05] [EMAIL PROTECTED] What compiler & linker did you use? [2007-01-29 08:33:00] thomastja at gmail dot com Description: Any input will be welcome. I am trying to compile PHP in the following env. Aix 5.3, Apache 2.2.3, PHP 4.4.4, gcc version 4.0.0, libtool 1.5.22 I run the following configure command ./configure --prefix=/fpx/usr/php --with-apxs2=/fpx/usr/apache/bin/apxs --with-config-file-path=/fpx/usr/apache/conf --enable-shared completed successfully. ./make completed successfully ./make install failed with errors Reproduce code: --- bash-3.00# make install /fpx/usr/apache/build/instdso.sh SH_LIBTOOL='/fpx/usr/apache/build/libtool' libphp4.la /fpx/usr/apache/modules libtool: install: warning: remember to run `libtool --finish /fpx/install/php/php-4.4.4/libs' chmod 755 /fpx/usr/apache/modules/libphp4.so chmod: failed to get attributes of `/fpx/usr/apache/modules/libphp4.so': A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 Expected result: Successfull compile of PHP and creation of Actual result: -- make install failed with error. -- Edit this bug report at http://bugs.php.net/?id=40268&edit=1
#40268 [Fbk->Opn]: PHP make install failed to create
ID: 40268 User updated by: thomastja at gmail dot com Reported By: thomastja at gmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Aix 5.3 PHP Version: 4.4.4 New Comment: # gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.0.0 # ld -V ld: LD 1.64 (08/19/2003) # /fpx/usr/apache/build/libtool --version ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Hope the info helps. All comments are welcome. Previous Comments: [2007-01-29 08:49:05] [EMAIL PROTECTED] What compiler & linker did you use? [2007-01-29 08:33:00] thomastja at gmail dot com Description: Any input will be welcome. I am trying to compile PHP in the following env. Aix 5.3, Apache 2.2.3, PHP 4.4.4, gcc version 4.0.0, libtool 1.5.22 I run the following configure command ./configure --prefix=/fpx/usr/php --with-apxs2=/fpx/usr/apache/bin/apxs --with-config-file-path=/fpx/usr/apache/conf --enable-shared completed successfully. ./make completed successfully ./make install failed with errors Reproduce code: --- bash-3.00# make install /fpx/usr/apache/build/instdso.sh SH_LIBTOOL='/fpx/usr/apache/build/libtool' libphp4.la /fpx/usr/apache/modules libtool: install: warning: remember to run `libtool --finish /fpx/install/php/php-4.4.4/libs' chmod 755 /fpx/usr/apache/modules/libphp4.so chmod: failed to get attributes of `/fpx/usr/apache/modules/libphp4.so': A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 Expected result: Successfull compile of PHP and creation of Actual result: -- make install failed with error. -- Edit this bug report at http://bugs.php.net/?id=40268&edit=1