You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bongrip <to...@echeeba.com> on 2003/08/17 21:24:25 UTC

How To Build mod_jk2 with JNI Support

I get this error during configure:

need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for "apache-2.0"
configure: error: valid apr source dir location required

Here is my configure command:
./configure --with-apxs2=/usr/local/apache2/bin/apxs 
--with-tomcat41=/usr/local/jakarta-tomcat-4.1.27 
--with-java-home=/usr/local/jakarta-tomcat-4.1.27/j2sdk1.4.2 --with-jni 
--with-apache13=no --with-apr=/usr/local/src/httpd-2.0.47/srclib/apr

Any ideas?

Thx,
CC