ID: 48427 Updated by: [email protected] Reported By: AzureusPT at gmail dot com -Status: Open +Status: Bogus Bug Type: *Compile Issues Operating System: AIX 5.3 PHP Version: 5.2.9 New Comment:
See bug #39197 Previous Comments: ------------------------------------------------------------------------ [2009-05-29 08:13:13] AzureusPT at gmail dot com Description: ------------ I've been trying to compile and install PHP5 (using 5.2.9 as well as latest CVS) with Apache 2.2.11, but I'm getting an error upon make install. ERROR: Installing PHP SAPI module: apache2handler /opt/jakarta/apache2.2/build/instdso.sh SH_LIBTOOL='/opt/jakarta/apache2.2/build/libtool' libphp5.la /opt/jakarta/apache2.2/modules rm -f /opt/jakarta/apache2.2/modules/libphp5.so /opt/jakarta/apache2.2/build/libtool --mode=install cp libphp5.la /opt/jakarta/apache2.2/modules/ cp .libs/libphp5.a /opt/jakarta/apache2.2/modules/libphp5.a cp .libs/libphp5.lai /opt/jakarta/apache2.2/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /soflib00/user/tomcat/php5.2-200905290630/libs' chmod 755 /opt/jakarta/apache2.2/modules/libphp5.so chmod: /opt/jakarta/apache2.2/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. It seems it deletes libphp5.so but doesnt copy the new lib, so it exits when trying to chmod an unexistent file. CONFIGURE OPTIONS: ./configure --with-apxs2=/opt/jakarta/apache2.2/bin/apxs --prefix=/opt/jakarta/php5.2.9 --with-libxml-dir=/usr/lib CVS SNAPSHOT: php5.2-200905290630 OS: AIX 5.3 LIBTOOL VERSION libtool --version ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15) APACHE VERSION: httpd-2.2.11 GCC VERSION: gcc --version gcc (GCC) 4.2.0 Checked other similar bugs, but the solutions of them doesnt seem to work for me. Reproduce code: --------------- ./configure --with-apxs2=/opt/jakarta/apache2.2/bin/apxs --prefix=/opt/jakarta/php5.2.9 --with-libxml-dir=/usr/lib ; make ; make install Expected result: ---------------- PHP 5 should be installed Actual result: -------------- chmod 755 /opt/jakarta/apache2.2/modules/libphp5.so chmod: /opt/jakarta/apache2.2/modules/libphp5.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48427&edit=1
