tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: How can I compile Mod_jdk2 ?
Date Fri, 19 Dec 2003 07:13:29 GMT

> I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this:
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
> --with-apache2=/usr/local/apache2\
> --with-apach2-include=/usr/local/apache2/include\
> --with-apache2-lib=/usr/local/apache2/lib \
> then in the end of configure process, I received a message:
> no apxs given
> building connector for "apche-2.0" 
> configure: error: can't locate /usr/local/apache2

Hmmm... do you really need all those options? I would think that:

./configure --with-apxs2=/usr/local/apache2/bin/apxs

would be sufficient. Let's see...

$ tar xzf jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
$ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
$ ./configure --with-apxs2=/usr/local/apache2/bin/apxs

[completed successfully]

$ make

[completed successfully]

$ ls ../build/jk2/apache2/*.so

Looks good to me. I also built my Apache 2.0.48 from source. The code, 
etc, is in /usr/local/httpd-2.0.48, and not in /usr/local/apache.

It's funny that the build instructions in the "jk" directory say "Just 
type ant!", and it fails miserably. Too bad. I like the whole 
configure/make/make install. It tends to work well.

Let me know if you are still having problems compiling...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message