Greetings all!

I've spend a good portion of this week trying to install Apache 2.0.58
on AIX 5.2 with the assistance of a helpful article:
http://people.apache.org/~trawick/apache-2-on-aix.html

However, no matter what I do the resulting httpd will not load any module:

# /usr/local/apache2/bin>./apachectl start
# Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
# Cannot load /usr/local/apache2/modules/mod_access.so into server:
# /usr/local/apache2/bin>

That is all I get, two lines.  (If I comment out the LoadModule
directive on line 233 -- and all other LoadModule directives, I
instead get the expected error: "Invalid command 'Order', perhaps
mis-spelled or defined by a module not included in the server
configuration")

This seemed a lot like the behaviour outlined in the article in "B18 - AIX 5.1
ML 0 won't build a server that will load DSOs", even though I am
running AIX 5.2.  However, there is an apache 1.3 that was built a
long time ago by someone who is no longer around, and it uses
LoadModule fine.  (The only LoadModule lines in the 1.3 httpd.conf are
mod_jk and libphp ... while 2.0 comes with a plethora of modules, but I
digress)

My question is, what can I do to get Apache 2.0 to compile with
module loading support (i.e., short of compiling it with static
modules which is really not recommended for us)?  Here is what I am
using to make:

CC=xlc_r ./configure --prefix=/usr/apache2 --with-mpm=worker
--enable-so --enable-layout=Apache --enable-mods-shared=most
--enable-maintainer-mode --with-expat=`pwd`/srclib/apr-util/xml/expat
--enable-static-support --without-berkeley-db && make && make install

Apache 2.0.58 on AIX 5.2   C for AIX Compiler, Version 6

>libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)


Many thanks in advance,

Phil




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to