You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Micky Mimo <mi...@truexchange.com> on 2000/11/15 04:59:01 UTC

Build mod_jk.so

I tried to run: apxs -o
mod_jk.so -I../jk -I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c
*.c ../jk/*.c and am getting this error:

gcc -O2 -m486 -fno-strength-reduce -DLINUX=2 -DEAPI -DUSE_EXPAT -I../lib/exp
at-lite -fpic -DSHARED_MODULE -I/usr/in
clude/apache -I../jserv -I/usr/local/java/include -I/usr/local/java/include/
linux/  -c *.c
gcc: *.c: No such file or directory
gcc: No input files

I suspect that the command is failing because it can not find the jk
directory. What is the jk directory?
I am using RedHat 6.2, Tomcat 3.1, and apache 1.3.14-2.

micky

Re: mod_jk.so

Posted by Jim Richards <gr...@cyber4.org>.
Danijel Pajur wrote:
> 
> Where is jk's dir in tomcat 3.1 ?
> I must be going blind, I've downloaded the 3.1 binary and source, can't find it anywhere.
> I mean the instructions for tomcat+apache are pretty simple if I could just find jk somewhere.

It's not in tomcat 3.1, it comes starting from tomcat 3.2 ...

Re: mod_jk.so

Posted by Hans Kind <ha...@kindserver.com>.
Hi Dan,

You will find the mod_jk in:

/opt/downloads/jakarta-tomcat-3.2-b7-src/src/native

I needed to use the following command, to get mod_jk installed into my 
Apache dir structure, on a Solaris 2.7 server.

/opt/software/apache/bin/apxs -o mod_jk.so -lposix4 -DSOLARIS -I../jk 
-I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c

Note the -lposix4, which isn't mentioned in the documentation.

rgds

Hans Kind

At 16:32 15-11-00 +0100, you wrote:
>Where is jk's dir in tomcat 3.1 ?
>I must be going blind, I've downloaded the 3.1 binary and source, can't find
>it anywhere.
>I mean the instructions for tomcat+apache are pretty simple if I could just
>find jk somewhere.
>
>Are there instructions somewhere for configuring apache + tomcat to run with
>mod_jserv?
>That one is available from the site as a linux binary so i dont have to
>worry about locating it.
>
>thanks
>Dan


mod_jk.so

Posted by Danijel Pajur <dp...@irb.hr>.
Where is jk's dir in tomcat 3.1 ?
I must be going blind, I've downloaded the 3.1 binary and source, can't find
it anywhere.
I mean the instructions for tomcat+apache are pretty simple if I could just
find jk somewhere.

Are there instructions somewhere for configuring apache + tomcat to run with
mod_jserv?
That one is available from the site as a linux binary so i dont have to
worry about locating it.

thanks
Dan