From: scott at abcoa dot com Operating system: AIX 5.2 PHP version: 5.1.2 PHP Bug Type: Apache2 related Bug description: makefile failed due to apxs's command failure w/ rc=65536 error
Description: ------------ Apache version 2.2.0 I get a PHP compile failure with the make command. Configure command was --snip-- ./configure --with-apxs2=../../apache2/bin/apxs --disable-all --with-unixODBC --with-openssl --with-curl --with-curlwrappers --enable-spl --enable-session --enable-track-vars --enable-ftp --enable-sockets --snip-- followed by the make command. Narrowed down the problem to the apxs script in PHP's makefile, when translated is this... --snip-- /usr/local/apache2/bin/apxs -S LIBEXECDIR='/usr/local/apache2/modules' -S SYSCONFDIR='/usr/local/apache2/conf' -i -a -n php5 libphp5.la --snip-- Which give this installation output as below... --snip-- /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules rm -f /usr/local/apache2/modules/libphp5.so /usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/ cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.1.2/libs' chmod 755 /usr/local/apache2/modules/libphp5.so chmod: /usr/local/apache2/modules/libphp5.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 --snip-- Problem is there's no libphp5.so as the libphp5.la and libphp5.a are the only two things that are found in that directory. Seem that it use the static file instead of the dso file. Thought it was an Apache bug so filed a bug there, bug #39099 and a couple of bugs report from the bugs.php.net search seem to confirm that. Then I was told that it's not an Apache bug but a PHP bug. So, I filed it here instead. Expected result: ---------------- No apxs error message and to be able to compile successfully with the dso file (php module). -- Edit bug report at http://bugs.php.net/?id=36852&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36852&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36852&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36852&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36852&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36852&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36852&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36852&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36852&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36852&r=support Expected behavior: http://bugs.php.net/fix.php?id=36852&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36852&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36852&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36852&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36852&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36852&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36852&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36852&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36852&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36852&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36852&r=mysqlcfg