PHP 5.2.6 on AIX
Posted: Thu Sep 18, 2008 10:49 am
I'm attempting to install PHP on an AIX machine. Both Apache and PHP are installed under a local user account for testing purposes.
After compiling PHP I get the following with the make install:
Installing PHP SAPI module: apache2handler
/home/bworle/apache/build/instdso.sh SH_LIBTOOL='/home/bworle/apr/build-1/libtool' libphp5.la /home/bworle/apache/modules
rm -f /home/bworle/apache/modules/libphp5.so
/home/bworle/apr/build-1/libtool --mode=install cp libphp5.la /home/bworle/apache/modules/
cp .libs/libphp5.a /home/bworle/apache/modules/libphp5.a
cp .libs/libphp5.lai /home/bworle/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /home/bworle/php-5.2.6/libs'
chmod 755 /home/bworle/apache/modules/libphp5.so
chmod: /home/bworle/apache/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.
It appears that the makefile is removing the .so from Apache and then trying to perform an action on it. I believe I might have missed a configuration flag somewhere. Any thoughts?
Thanks.
Brent
After compiling PHP I get the following with the make install:
Installing PHP SAPI module: apache2handler
/home/bworle/apache/build/instdso.sh SH_LIBTOOL='/home/bworle/apr/build-1/libtool' libphp5.la /home/bworle/apache/modules
rm -f /home/bworle/apache/modules/libphp5.so
/home/bworle/apr/build-1/libtool --mode=install cp libphp5.la /home/bworle/apache/modules/
cp .libs/libphp5.a /home/bworle/apache/modules/libphp5.a
cp .libs/libphp5.lai /home/bworle/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /home/bworle/php-5.2.6/libs'
chmod 755 /home/bworle/apache/modules/libphp5.so
chmod: /home/bworle/apache/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.
It appears that the makefile is removing the .so from Apache and then trying to perform an action on it. I believe I might have missed a configuration flag somewhere. Any thoughts?
Thanks.
Brent