You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jerome moliere <jm...@nerim.net> on 2003/08/29 16:14:14 UTC

Unable to obtain a module (.so) for JK2 on Linux (RH9)

Hi all,
i'm not sure that's the right place for such question but I'm unable for 
2 days to get
the compilation goes to end....
Everything seems to work but I don't have any so file generated...

I'm using a configure with options:
./configure --with-tomcat40=/usr/local/tomcat/ 
--with-tomcat41=/usr/local/tomcat/ --with-tomcat40=/usr/local/tomcat/  
--with-apxs2=/usr/local/apache2/bin/apxs   
--with-apr=/usr/local/apr-0.9.3  --with-apache2=/usr/local/httpd

where  /usr/local/apache2 contains binaries for apache (&apxs2)
/usr/local/httpd contains src files for apache

I'm using the JK 2.0.2 files & Apache 2.0.47 on redhat 9 (with GCC 2.96 
or 3.2.2)

any help greatly appreciated
drives me crazy :)

cheers
Jerome




RE: Unable to obtain a module (.so) for JK2 on Linux (RH9)

Posted by "Eric J. Pinnell" <er...@iCky.org>.
I agree with Stuart.  Use JK if JK2 won't work.  I don't understand what's
up with JK2 and RH9.  Enough people are having troubles with it.

I'm curious enough now to take a look.

-e

On Mon, 1 Sep 2003, Stuart Stephen wrote:

>
> I had a similar problem, it wouldn't compile a .so in RH9.
>
> I gave up on it and went back to good old trusty mod_jk 1 in the end.
>
> -----Original Message-----
> From: jerome moliere [mailto:jmoliere@nerim.net]
> Sent: 30 August 2003 09:20
> To: Tomcat Users List
> Subject: Re: Unable to obtain a module (.so) for JK2 on Linux (RH9)
>
>
> Eric J. Pinnell wrote:
>
> >Hi,
> >
> >
> thanks eric,
>
> >JK2 should compile with just the following:
> >
> >./configure --with-apxs2=/path/to/apache/bin/apxs
> >make
> >
> >
> yes ,it should .....
> but I still can't have this fu... module compiled....
>
> >It should create mod_jk2.so in the build directory tree not in the
> >directory that you ran configure and make from.  I forget exactly where it
> >puts it but a find ./ | grep so from the top level of the source should
> >root it out quick fast.
> >
> >
> >
> yes the location is ../build/jk2/apache2 but allways empty for me (no
> .so at all)
> & the find keeps returning nothing for my .so....
> can't spent much time for this problem so I'll use mod_proxy instead ....
>
> Jerome
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

RE: Unable to obtain a module (.so) for JK2 on Linux (RH9)

Posted by Stuart Stephen <st...@talkics.com>.
I had a similar problem, it wouldn't compile a .so in RH9.

I gave up on it and went back to good old trusty mod_jk 1 in the end.

-----Original Message-----
From: jerome moliere [mailto:jmoliere@nerim.net]
Sent: 30 August 2003 09:20
To: Tomcat Users List
Subject: Re: Unable to obtain a module (.so) for JK2 on Linux (RH9)


Eric J. Pinnell wrote:

>Hi,
>  
>
thanks eric,

>JK2 should compile with just the following:
>
>./configure --with-apxs2=/path/to/apache/bin/apxs
>make
>  
>
yes ,it should .....
but I still can't have this fu... module compiled....

>It should create mod_jk2.so in the build directory tree not in the
>directory that you ran configure and make from.  I forget exactly where it
>puts it but a find ./ | grep so from the top level of the source should
>root it out quick fast.
>
>  
>
yes the location is ../build/jk2/apache2 but allways empty for me (no 
.so at all)
& the find keeps returning nothing for my .so....
can't spent much time for this problem so I'll use mod_proxy instead ....

Jerome



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




Re: Unable to obtain a module (.so) for JK2 on Linux (RH9)

Posted by jerome moliere <jm...@nerim.net>.
Eric J. Pinnell wrote:

>Hi,
>  
>
thanks eric,

>JK2 should compile with just the following:
>
>./configure --with-apxs2=/path/to/apache/bin/apxs
>make
>  
>
yes ,it should .....
but I still can't have this fu... module compiled....

>It should create mod_jk2.so in the build directory tree not in the
>directory that you ran configure and make from.  I forget exactly where it
>puts it but a find ./ | grep so from the top level of the source should
>root it out quick fast.
>
>  
>
yes the location is ../build/jk2/apache2 but allways empty for me (no 
.so at all)
& the find keeps returning nothing for my .so....
can't spent much time for this problem so I'll use mod_proxy instead ....

Jerome



Re: Unable to obtain a module (.so) for JK2 on Linux (RH9)

Posted by "Eric J. Pinnell" <er...@iCky.org>.
Hi,

JK2 should compile with just the following:

./configure --with-apxs2=/path/to/apache/bin/apxs
make

It should create mod_jk2.so in the build directory tree not in the
directory that you ran configure and make from.  I forget exactly where it
puts it but a find ./ | grep so from the top level of the source should
root it out quick fast.

-e


On Fri, 29 Aug 2003, jerome moliere wrote:

> Hi all,
> i'm not sure that's the right place for such question but I'm unable for
> 2 days to get
> the compilation goes to end....
> Everything seems to work but I don't have any so file generated...
>
> I'm using a configure with options:
> ./configure --with-tomcat40=/usr/local/tomcat/
> --with-tomcat41=/usr/local/tomcat/ --with-tomcat40=/usr/local/tomcat/
> --with-apxs2=/usr/local/apache2/bin/apxs
> --with-apr=/usr/local/apr-0.9.3  --with-apache2=/usr/local/httpd
>
> where  /usr/local/apache2 contains binaries for apache (&apxs2)
> /usr/local/httpd contains src files for apache
>
> I'm using the JK 2.0.2 files & Apache 2.0.47 on redhat 9 (with GCC 2.96
> or 3.2.2)
>
> any help greatly appreciated
> drives me crazy :)
>
> cheers
> Jerome
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>