> Below is a condensed version of what I did to compile a valid
> libmod_jk.so for Apache 2.0.40/Tomcat 4.1.10 on AIX 5.1. At this point I
> can't make any guarantees that this will work for anyone else, but
> hopefully it will. I'm also 100% positive that this can be made easier and
> more automated, but I don't currently pose the time to start hacking the
> autoconf scripts.
As a followup to the above, below are the steps I took to create a
mod_jk2 that seems to work. I don't have a working mod_jk2 configuration
right now, but this module at least passes configtest without a core dump.
The overall process is very similar to the build for mod_jk, so I'm
leaving out most of the duplicated details (long lines wrapped).
cd jk/native2/
chmod a+x buildconf.sh
./buildconf.sh
./configure --with-apxs2=/apps/usr/local/apache2/bin/apxs
--with-tomcat41=/apps/jakarta-tomcat-4.1.10
make
rm ../build/jk2/apache2/mod_jk2.*
rm ../build/jk2/apache2/libmod_jk2.*
cd server/apache2/
/apps/usr/local/apache2/build/libtool --mode=compile gcc -g -O2 -pthread
-DNO_DBM_REWRITEMAP -U__STR__ -D_USE_IRS -D_THREAD_SAFE
-DAP_HAVE_DESIGNATED_INITIALIZER -I../../include
-I/apps/usr/local/apache2/include -I /usr/java130//include -I
/usr/java130//include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c
../../server/apache2/mod_jk2.c -o ../../../build/jk2/apache2/mod_jk2.lo
/apps/usr/local/apache2/build/libtool --mode=link gcc -g -O2 -pthread
-DNO_DBM_REWRITEMAP -U__STR__ -D_USE_IRS -D_THREAD_SAFE
-DAP_HAVE_DESIGNATED_INITIALIZER -I/apps/usr/local/apache2/include
-export-dynamic -Wl,-brtl -Wl,-brtl -o mod_jk.la -rpath
/apps/usr/local/apache2/modules -module -avoid-version -o
../../../build/jk2/apache2/mod_jk2.la
../../../build/jk2/apache2/jk_channel.lo
../../../build/jk2/apache2/jk_channel_apr_socket.lo
../../../build/jk2/apache2/jk_channel_jni.lo
../../../build/jk2/apache2/jk_channel_socket.lo
../../../build/jk2/apache2/jk_channel_un.lo
../../../build/jk2/apache2/jk_config.lo
../../../build/jk2/apache2/jk_config_file.lo
../../../build/jk2/apache2/jk_endpoint.lo
../../../build/jk2/apache2/jk_env.lo
../../../build/jk2/apache2/jk_handler_logon.lo
../../../build/jk2/apache2/jk_handler_response.lo
../../../build/jk2/apache2/jk_logger_file.lo
../../../build/jk2/apache2/jk_logger_win32.lo
../../../build/jk2/apache2/jk_map.lo ../../../build/jk2/apache2/jk_md5.lo
../../../build/jk2/apache2/jk_msg_ajp.lo
../../../build/jk2/apache2/jk_mutex.lo
../../../build/jk2/apache2/jk_mutex_proc.lo
../../../build/jk2/apache2/jk_mutex_thread.lo
../../../build/jk2/apache2/jk_nwmain.lo
../../../build/jk2/apache2/jk_objCache.lo
../../../build/jk2/apache2/jk_pool.lo
../../../build/jk2/apache2/jk_pool_apr.lo
../../../build/jk2/apache2/jk_registry.lo
../../../build/jk2/apache2/jk_requtil.lo
../../../build/jk2/apache2/jk_shm.lo
../../../build/jk2/apache2/jk_signal.lo
../../../build/jk2/apache2/jk_uriEnv.lo
../../../build/jk2/apache2/jk_uriMap.lo
../../../build/jk2/apache2/jk_user.lo
../../../build/jk2/apache2/jk_vm_default.lo
../../../build/jk2/apache2/jk_workerEnv.lo
../../../build/jk2/apache2/jk_worker_ajp13.lo
../../../build/jk2/apache2/jk_worker_jni.lo
../../../build/jk2/apache2/jk_worker_lb.lo
../../../build/jk2/apache2/jk_worker_run.lo
../../../build/jk2/apache2/jk_worker_status.lo
../../../build/jk2/apache2/jk_jni_aprImpl.lo
../../../build/jk2/apache2/jk_logger_apache2.lo
../../../build/jk2/apache2/jk_map_aprtable.lo
../../../build/jk2/apache2/jk_service_apache2.lo
../../../build/jk2/apache2/mod_jk2.lo
cd ../../../build/jk2/apache2/.libs
cp libmod_jk2.so /apps/usr/local/apache2/modules/
-- Daniel R. <[EMAIL PROTECTED]> [http://www.neophi.com/]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>