Installing PHP-4.0.6 on AIX 4.3.3 using gcc
| From: | Jason Ellison | Date: | Tue, 18 Sep 2001 05:01:02 +0000 |
| Subject: | Installing PHP-4.0.6 on AIX 4.3.3 using gcc | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4327@lists.php.net to get a copy of this message | ||
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 (life saver) 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 needs 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