Re: Installing php on AIX (4.3.3)
| From: | Kirt Thomas | Date: | Fri, 13 Dec 2002 22:39:45 +0000 |
| Subject: | Re: Installing php on AIX (4.3.3) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9397@lists.php.net to get a copy of this message | ||
As far as I can tell it's .so - what would I change in the apxs script from so to sl, if it does turn out that it's sl?
At 03:04 PM 12/13/2002 -0700, Jim Thome wrote:
What suffix does AIX use for shared libaries? .sl or .so? If it's something other than .so, you will have to hack your apxs script to change it to whatever your system needs. (Just search apxs for .so; it is only in two places in newer apxs scripts). After changing your apxs script, run make distclean, configure, make, make install. -- Jim-=-=-=-=-=-=-=-=-=-==-=-=-=-=--=-=-=-=-=-I'm trying to install php on an AIX server. I use the folling configure command: configure --with-apxs=/usr/local/apache/bin/apxs --with-oci8=/u01/app/oracle/product/8.1.6 --prefix=/usr/local/apache Which works. Then I run a make, and that also completes. But when I run a 'make install' I end with... Making install in .Kirt Thomas <kirtt@sky.net> 12/13/02 02:57PM >>>/u01/AIX_Stuff/php/php-4.2.2/build/shtool mkdir -p"/usr/local/apache/libexec" && /usr/local/apache/bin/apxs -S LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/lo cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so cp: libs/libphp4.so: A file or directory in the path name does not exist. apxs:Break: Command failed with rc=1 make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. If I look in the libs directory only the libphp4.a and libphp4.la are there - no libphp4.so (which afaik is created here in a normal Linux install). If I leave apx out of the configure, everything runs fine (no errors) it just doesn't create and copy the libphp4.so into the libexecs/ directory. I'm flummoxed. I should add that there is a 4.0.5 version of php up and running on this box - but whenever it was done (by a sysadmin long gone) it was done specifically excluding mysql, which I need to have (along with the Oracle stuff). Any I deas? Thanks.kirtt@sky.net http://www.sky.net/~kirtt-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^- PGP Public Key at: http://pgpkeys.mit.edu:11371 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Kirt Thomas kthomas@gfsiinc.com^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^