[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mod_jk and mod_jk2



Alessandro Polverini wrote:

I'm using his package right now (why is it not in the debian archive
btw?), but it's only for apache 1.3.29, while I need mod_jk2 for
apache2.

I have rebuild and uploaded the mod_jk package now. It should be in the Debian archives in a couple of days.

Any help on how to build mod_jk2 with either apache2 of testing or
unstable would be very welcome: I followed the instructions with the
package from apache.org but they seems to not work on debian (or more
probably I'm dumb, but I made my best).

Short instructions building mod_jk2 for Apache 2.0 in unstable:

1. Install an Apache 2.0 development package (either apache2-prefork-dev
   or apache2-threaded-dev) and j2sdk1.4 from Blackdown

2. Download and unpack jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
   from your favourite Jakarta mirror

3. cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2

4. ./configure --with-apxs2=/usr/bin/apxs2 \
               --with-apr-include=/usr/include/apr-0 \
               --with-java-home=/usr/lib/j2se/1.4

5. perl -p -i -e "s:/build/libtool:/usr/bin/libtool:" \
   server/apache2/Makefile

6. make

7. You can find mod_jk2.so and jkjni.so in ../build/jk2/apache2. Install
   mod_jk2 into /usr/lib/apache2/modules.

I'm not sure if I should create a Debian package in contrib with JNI support for JDK 1.4 or hack the build system to not require a JDK and put the package without JNI support in main. Building with Kaffe 1.1.3 has failed so far. Comments?

Stefan



Reply to: