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 <[EMAIL PROTECTED]> 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.

[EMAIL PROTECTED]                  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

Reply via email to