Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Redhat9 / mod_jk2 builds from source

Oscar Carrillo

2004-01-14

Replies:

My apologies, I did find some good info on the list just awhile back,
particularly by Mark Eggers.

This just mostly shows it indeed is repeatable :-)

Oscar

On Wed, 14 Jan 2004, Oscar
Carrillo wrote:

> Hi,
>
> The info I've seen on this list about building mod_jk2 has been for rpm
> installation. Here's the info I gathered so far trying to do Apache and
> the connector all from source.
>
> Building Apache2.0.48 and mod_jk2 (2.0.2) works seamlessly the following
> way:
>
> If you built Apache from source, such as in my HOWTO:
> http://daydream.stanford.edu/tomcat/install_web_services.html
>
> this will build mod_jk2 from source.
>
> I haven't tested the connector yet, but no edits to the Makefile were
> required to build mod_jk2.so.
>
> I used this configuration script and make command in:
>
> <tomcat-connector-source-dir>/native2
>
> ./configure --with-java-home=/usr/local/java/java --with-java-platform=2
> --with-apxs2=/usr/local/apache2/bin/apxs
> --with-tomcat41=/usr/local/jakarta-tomcat-5.0.16 --with-jni
> --with-apr-lib=/usr/local/apache2/lib
> --with-apr-include=/usr/local/apache2/include --with-pcre
>
> make all
>
> Then jkjni.so and mod_jk2.so will be in:
>
> <tomcat-connector-source-dir>/jk/build/jk2/apache2
>
> Hope that helps someone. BTW, trying do it with the ant build seemed
> hopeless. I quickly abandoned that method.
>
> Oscar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.