Re: Installing php on AIX (4.3.3)

From: Date: Mon, 16 Dec 2002 17:06:15 +0000
Subject: Re: Installing php on AIX (4.3.3)
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-9405@lists.php.net to get a copy of this message
I tried this and end with the same results, is it the shtool that creates the libphp4.so in the libs directory? It seems like it's not getting created there, and so can't be copied ? At 04:33 PM 12/13/2002 -0700, Jim Thome wrote:
It appears like the extension for shared libraries on AIX is .a (depends on your version of AIX; the new linker in AIX release 4.2.1 is .so). To hack the apxs... On line 116 of the apxs script in Apache 1.3.26: Change: my $dso_ext = "so"; To: my $dso_ext = "a"; On line 381: Change: $d =~ s|\.so$||; To: $d =~ s|\.a$||; If you are using a different version of Apache, search for ".so" and look for code similar to the above. -- Jim
Kirt Thomas <kirtt@sky.net> 12/13/02 03:39PM >>>
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
Kirt Thomas <kirtt@sky.net> 12/13/02 02:57PM >>>
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 .
         /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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-=-=-=-=-=-=-=-=-=-==-=-=-=-=--=-=-=-=-=-
Kirt Thomas           kthomas@gfsiinc.com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

« previous php.install (#9405) next »