Page 1 of 1

PHP 5.2.6 on AIX

Posted: Thu Sep 18, 2008 10:49 am
by bworle
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

Re: PHP 5.2.6 on AIX

Posted: Thu Sep 18, 2008 11:03 am
by andyhoneycutt
Could you post your makefile on here?

Re: PHP 5.2.6 on AIX

Posted: Thu Sep 18, 2008 11:23 am
by bworle
Well, I have tried attaching as a file (no luck), and it is too long to post in the body of the post.

Re: PHP 5.2.6 on AIX

Posted: Thu Sep 18, 2008 11:33 am
by Maugrim_The_Reaper
Try a pastebin entry somewhere ;)

Re: PHP 5.2.6 on AIX

Posted: Thu Sep 18, 2008 11:51 am
by bworle
http://pastebin.com/m5a090fa6

I believe I've narrowed down the issue...it is not building the .so.