You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2011/12/29 01:53:50 UTC
[Httpd Wiki] Update of "AIXPlatform" by EricCovener
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The "AIXPlatform" page has been changed by EricCovener:
http://wiki.apache.org/httpd/AIXPlatform
New page:
= Compiling on AIX =
== prerequisites ==
* xlc and gcc both are reported to work
* It's suggested to install the coreutils RPM and be sure /opt/freeware/bin/install is high in your PATH and found by APR configure for BSD-compatible install.
* covener believes this might solve failures to install DSO's.
* Building a recent autoconf, m4, libtool, and zlib (and maybe PCRE?) to some shared prefix doesn't hurt (e.g. $HOME/gnu)
* For something long forgotten, adding that prefix to your LIBPATH helps some stage of the build
* export PATH=$HOME/gnu/bin:/opt/freeware/bin:$PATH
* export LIBPATH=$LIBPATH:$HOME/gnu/
* Setting CONFIG_SHELL=/usr/bin/bash can speed up ./configure significantly.
* Old tarballs with an old config.guess/config.sub require AIX 6.1 and later to impersonate AIX 5.3
* export ac_cv_build="powerpc-ibm-aix5.3.0.0"
* export ac_cv_build_alias="powerpc-ibm-aix5.3.0.0"
== 64-bit ==
* Set both OBJECT_MODE=64 and CC="xlc_r -q64"
== Link errors with bundled expat and when using DESTDIR ==
* If you use a bundled expat, you might find the link of apr-util fails. The following change might help:
* ''perl -p -i.orig -e \"s#[^ ]+libexpat.la#-L$curdir/srclib/apr-util/xml/expat/lib/ -lexpat#; s#[^ ]+libapr-1.la##;\" $PWD/srclib/apr-util/Makefile''
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org