William,

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
../build/jk2/apache2/jkjni.so
../build/jk2/apache2/mod_jk2.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...

-chris


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to