2

I am compiling Apache 2 (2.2.11 yeh, Its old...but its a requirement) on AIX 6.1 with GCC 4.2.0. I am using the configure options:

./configure \
--enable-module=rewrite\
--enable-module=log_referer\
--with-included-apr \
--enable-proxy  \
--enable-ssl=shared \
--with-ssl=/usr  \
--prefix=/PATH/apache \
--enable-so \
--enable-mods-shared="proxy proxy_http proxy_connect headers mod_proxy mod_ssl"

The configure, followed by the make/make install processes all run without error of any kind. However, when I look int he modules directory for the /PATH/modules directory there are no .so files created.

Sadly because of the nature of what I am doing, and the business I am in, I am locked into the software versions as described.

user176514
  • 71
  • 2
  • 8
  • No ".so" files, but are there other files generated in the modules directory? – Mat Jun 20 '13 at 10:59
  • You might have forgotten to add `-Wl,-brtl` to `LDFLAGS`. Note: it is important to compile apr, apr-util and httpd with the same settings/options/flags (including 'layout'). If you have other components (tomcat-native, tomcat-connector, serf, php) then those too. – Lorinczy Zsigmond Jun 20 '18 at 04:34

1 Answers1

2

I would suggest to use a precompiled RPM from here. The maintainer, Michael Perzl, is a well known IBM specialist, and has a well earned rep for porting software to AIX.

Also in the same site, you will find instructions on how to compile for 6.1, although the instructions there use the native AIX xlc compiler, possibly for better results.

If you choose to go the precompiled RPMs route, keep an eye on dependencies, which in the case of http, can be quite a lot. The FAQ contains tips on how to download all the dependencies.

dawud
  • 15,096
  • 3
  • 42
  • 61