If you want to "build" as well as "install" apache 2.2 on AIX 6.1, you will need a 'C' compiler... Either buy one from IBM (xlc) or download and install GCC.
Here's a slightly modified version of how we run configure, which installs Apache at
/usr/local/apache... you will note we specify the location of where we have SSL installed on our system (--with-ssl)... substitute your location...
Note: we are using the IBM compiler, in "threaded" mode (i.e. xlc_r):
Code:
CC="xlc_r"; export CC
CPPFLAGS="-D_THREAD_SAFE "; export CPPFLAGS
"./configure" \
"--prefix=/usr/local/apache" \
"--with-mpm=worker" \
"--without-berkeley-db" \
"--with-ssl=/usr/local/dms/openssl.0.9.8f" \
"--enable-ssl=static" \
"--enable-logio=static" \
"--enable-proxy=static" \
"--enable-proxy_balancer=static" \
"--enable-proxy-ajp=static" \
"--enable-proxy-http=static" \
"--enable-static-rotatelogs" \
"--with-included-apr" \
"--enable-static-support" \
"CC=xlc_r" \
"CPPFLAGS=-D_THREAD_SAFE" \
"$@"
Hope this helps,
-tony