Redhat9 / mod_jk2 builds from source 2004-01-14 - By Oscar Carrillo
Back 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 (See http://cat-5.ora-code.com).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)
|
|