From: AzureusPT at gmail dot com Operating system: AIX 5.3 PHP version: 5.2.9 PHP Bug Type: *Compile Issues Bug description: Make install libphp5.so error
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 bug report at http://bugs.php.net/?id=48427&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48427&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48427&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48427&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48427&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48427&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48427&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48427&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48427&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48427&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48427&r=support Expected behavior: http://bugs.php.net/fix.php?id=48427&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48427&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48427&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48427&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48427&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48427&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48427&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48427&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48427&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48427&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48427&r=mysqlcfg
