Hello all,
I recently installed php 4.0.6 on AIX 4.3.3.0 using Phill's document
posted to this list on 05.08.2001 and would like to repost it with some
corrections. The corrections may be obvious to some but it kept me up for
a *long* time. The problems i found were in step 6 and 7 .
\${wl} -bI:/usr/local/apache/libexec/httpd.exp
^- there should be no space before "-bI:"
obj=`$echo "X$oldobj" | $Xsed -e "lo2o"`
lo2o is defined earlier in the script and need to be "$lo2o"
REF: Re: [PHP-INST] AIX 4.3.3 PHP 4.0.5 HowTo compile using xlC
http://marc.theaimsgroup.com/?l=php-install&m=98932190132723&w=2
Installing PHP-4.0.6 on AIX 4.3.3 using gcc
1) Download PHP source.
2) gunzip -> tar ....
3) cd php-4.0.6
4) ./configure --with-apxs=/usr/local/apache/bin/apxs \
--enable-trans-sid --disable-xml --disable-pear \
--with-mysql=/usr/local/mysql --with-oci8=/u01/app/oracle/product/8.1.6
5) vi libtool
6) Hack away at these lines:
archive_cmds= .....
add this:
\${wl}-bI:/usr/local/apache/libexec/httpd.exp
do the same for:
archive_expsym_cmds= ......
7) Search for the following:
Do each command in the archive commands
At the bottom of the loop that starts with the line:
for oldobj in $oldobjs; do
.
.
.
.
done
insert this just before and after the "done" i.e.
obj=`$echo "X$oldobj" | $Xsed -e "$lo2o"`
eval "cp $oldobj $obj"
done
oldobjs=`$echo "X$oldobjs" | $Xsed -e 's/\.lo/\.o/g'`
8) make
9) make install
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]