From:             michael dot v dot kells at uscg dot mil
Operating system: Centos
PHP version:      5.2.0
PHP Bug Type:     Compile Failure
Bug description:  apxs:Error: Command failed with rc=65536

Description:
------------
I have searched and read through all of the other bug reports mentioning
this same error and found them all to be not very helpful. This is on a
x86 linux distribution with x86 libraries of everything.

When I run the configure script like so:
./configure --prefix=/www/php --with-apxs2=/www/bin/apxs
--with-config-filepath=/www/php --enable-sockets
--with-mysql=/usr/local/mysql --with-zlibdir=/usr/include –with-gd

The configure script works fine. The make script runs fine as well.
Everything looks good until I run the make install script then I get the
error:

[EMAIL PROTECTED] php-5.2.0]# make install 
Installing PHP SAPI module:       apache2handler /www/build/instdso.sh
SH_LIBTOOL='/www/build/libtool' libphp5.la /www/modules
/www/build/libtool --mode=install cp libphp5.la /www/modules/
cp .libs/libphp5.lai /www/modules/libphp5.la
cp .libs/libphp5.a /www/modules/libphp5.a
ranlib /www/modules/libphp5.a
chmod 644 /www/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/tmp/cacti_install/php-5.2.0/libs'
Warning!  dlname not found in /www/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /www/modules/libphp5.so
chmod: cannot access `/www/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

Reproduce code:
---------------
./configure --with-apxs2=/www/bin/apxs --with-mysqli
make
make install



Expected result:
----------------
I expect PHP 5.2.0 to be to compiled with out erroe and to work well.

Actual result:
--------------
[EMAIL PROTECTED] php-5.2.0]# make install 
Installing PHP SAPI module:       apache2handler /www/build/instdso.sh
SH_LIBTOOL='/www/build/libtool' libphp5.la /www/modules
/www/build/libtool --mode=install cp libphp5.la /www/modules/
cp .libs/libphp5.lai /www/modules/libphp5.la
cp .libs/libphp5.a /www/modules/libphp5.a
ranlib /www/modules/libphp5.a
chmod 644 /www/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/tmp/cacti_install/php-5.2.0/libs'
Warning!  dlname not found in /www/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /www/modules/libphp5.so
chmod: cannot access `/www/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

-- 
Edit bug report at http://bugs.php.net/?id=39697&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39697&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39697&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39697&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39697&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39697&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39697&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39697&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39697&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39697&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39697&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39697&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39697&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39697&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39697&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39697&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39697&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39697&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39697&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39697&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39697&r=mysqlcfg

Reply via email to