#33148 [NEW]: PHP Fails with apxs:Error: Command failed with rc=65536
| From: | scriptdaddy at gmail dot com | Date: | Thu, 26 May 2005 08:35:17 +0000 |
| Subject: | #33148 [NEW]: PHP Fails with apxs:Error: Command failed with rc=65536 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-79538@lists.php.net to get a copy of this message | ||
From: scriptdaddy at gmail dot com
Operating system: AIX 5.2 ML05
PHP version: 4.3.11
PHP Bug Type: Compile Failure
Bug description: PHP Fails with apxs:Error: Command failed with rc=65536
Description:
------------
PHP fails with apxs:Error: Command failed with rc=65536; each and
everytime I compile it. Have replicated error on no-less than 10
occassions.
Error:
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp4.so
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/home/susteveo/apache/php4-STABLE-200505251440/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.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.
Stop.
Using GNU GCC
Built on a IBM RS/6000 H70 using AIX 5.2 ML05 with 64 Bit Kernal Enabled.
Using Apache 2.0.54, built with the following Configuration Options:
Same Error on PHP Versions: 4.XX, 5.XX and php4-STABLE-200505251440.
PHP built each time with following Configuration Options:
--disable-all --without-cli --with-apxs2=/usr/local/apache2/bin/apxs
Found that by copying the libphp4.so from .libs to
/usr/local/apache2/modules then Apache will serve PHP files, however you
have to manual configure the httpd.conf file and add the PHP Directive.
Reproduce code:
---------------
./configure --disable-all --without-cli
--with-apxs2=/usr/local/apache2/bin/apxs
Expected result:
----------------
I expect PHP to compile successfully.
Actual result:
--------------
PHP does not compile successfully and following error produce each time
apxs:Error: Command failed with rc=65536.
--
Edit bug report at http://bugs.php.net/?id=33148&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33148&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33148&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33148&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33148&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33148&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33148&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33148&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33148&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33148&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33148&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33148&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33148&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33148&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33148&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33148&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33148&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33148&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33148&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33148&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33148&r=mysqlcfg