For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2007 > PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6 - apxs error with rc=65536









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PHP 5.2.4 on AIX 5.3.0.0 with Apache 2.2.6 - apxs error with rc=65536
Beowulf McLeod

2007-09-29, 10:09 pm

Hello,

I'm trying to build and install PHP 5.2.4 on AIX 5.3.0.0 with apache 2.2.6.
"make" runs fine but when I try to do "make install", it gives me the
following error -

----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------
"Makefile" 1333 lines, 198697 characters
# make install
echo '\
\
Installing PHP SAPI module: apache2handler
/usr/local/apache-2.2.6/build/instdso.sh
SH_LIBTOOL='/usr/local/apache-2.2.6/build/libtool'
libphp5.la /usr/local/apache-2.2.6/modules
rm -f /usr/local/apache-2.2.6/modules/libphp5.so
/usr/local/apache-2.2.6/build/libtool --mode=install cp
libphp5.la/usr/local/apache-
2.2.6/modules/
cp .libs/libphp5.a /usr/local/apache-2.2.6/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache-2.2.6/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/tmp/php_installer/php-5.2.4/libs'
chmod 755 /usr/local/apache-2.2.6/modules/libphp5.so
chmod: /usr/local/apache-2.2.6/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.


Stop.
----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------

My configure command is -

----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------
../configure --prefix=/usr/local/php-5.2.4 --with-apxs2=/usr/local/apache-
2.2.6/bin/apxs --enable-mbstring --enable-shmop \
--with-libxml-dir=/opt/freeware --with-zlib=/opt/freeware
--with-ibm_db2=/bfdata/db2inst2/sqllib --with-pear
----------------------------------------------------------------------
----------------------------------------------------------------------
--------------------------------------------------------------------------

I tried to find a solution by doing google on this problem and searching PHP
mailing lists but couldn't find anything. Any help is appreciated.

Thanks.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com