Chris Haines said:
> I spent nine hours trying to get mod_jk to compile properly for Linux but
> had no luck. I wanted to download the binary but couldn't find one. So, I
> downloaded the source code. The instructions I had were full of
> misinformation. Then I got to a point where I seemed to have gotten close
> when I tried compiling it.
>
> I typed:
> ./configure -with-apxs=/usr/local/apache/bin/apxs
> -with-apache13=/usr/local/apache
>
> but, the program kept failing and would tell me that it couldn't find
> apxs.

Thr problem may be that you didn't first compile Apache with
--enable-module=so, if you don't do this you won't be able to build mod_jk
(yes, the mod_jk install docs suck big time!), and I have never been able
to find a binary for Linux...

Here's what works (butchered from my own Apache + ModSSL build instructions)

1) in the Apache (source dist) directory (eg /usr/local/src/apache_1.3.29)

./configure --prefix=/usr/local/apache --enable-module=so

make

2) build the mod_jk

cd /usr/local/src/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

./buildconf.sh

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-EAPI

[Make sure apache built with --enable-module=so otherwise you get "can't
find apxs" error!]

mkdir /usr/local/apache/modules

cp apache-1.3/mod_jk.so /usr/local/apache/modules

That should help you out. Good luck!

John Sidney-Woollett

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

Reply via email to