Compile jk2: make breaks

2002-10-15 Thread john-paul delaney

Hello List...

I'm trying to setup (compile from source) mod_jk2 with apache2 & tomcat 4.1.12-LE.  
Following the instructions on the mod_jk howto on the jakarta website, I've run into a 
problem.

When I run make from the connectors jk/native2 directory, I get the following error:

/usr/bin/ld: cannot find -lapr
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
make[1]: Leaving directory 
`/bak/jakarta-tomcat-connectors-4.1.12-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1


What is lapr (something to do with apache portable runtime)?  How do I install it?  
I've searched on the web but found little info, and there doesn't appear to be any 
docs in the connectors source download.

thanks
/j-p.

 
JUSTATEST Art Online 
http://www.justatest.com


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




RE: Compile jk2: make breaks

2002-10-16 Thread Turner, John


APR: http://apr.apache.org/

John


> -Original Message-
> From: john-paul delaney [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 5:14 PM
> To: [EMAIL PROTECTED]
> Subject: Compile jk2: make breaks
> 
> 
> Hello List...
> 
> I'm trying to setup (compile from source) mod_jk2 with 
> apache2 & tomcat 4.1.12-LE.  Following the instructions on 
> the mod_jk howto on the jakarta website, I've run into a problem.
> 
> When I run make from the connectors jk/native2 directory, I 
> get the following error:
> 
> /usr/bin/ld: cannot find -lapr
> collect2: ld returned 1 exit status
> make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
> make[1]: Leaving directory 
> `/bak/jakarta-tomcat-connectors-4.1.12-src/jk/native2/server/apache2'
> make: *** [jk2-build] Error 1
> 
> 
> What is lapr (something to do with apache portable runtime)?  
> How do I install it?  I've searched on the web but found 
> little info, and there doesn't appear to be any docs in the 
> connectors source download.
> 
> thanks
> /j-p.
> 
>  
> JUSTATEST Art Online 
> http://www.justatest.com
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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




Re: Compile jk2: make breaks

2002-10-16 Thread Dom

Hi JP

I had the same trouble making mod_jk2 on a Mandrake 7.2

Only solution found : link  libapr-0.so to libapr.so in your
$APACHE2_HOME/lib

for me
in /usr/local/apache2/lib

ln -s libapr-0.so libapr.so

and make again

Dom

- Original Message -
From: "john-paul delaney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 11:14 PM
Subject: Compile jk2: make breaks


> Hello List...
>
> I'm trying to setup (compile from source) mod_jk2 with apache2 & tomcat
4.1.12-LE.  Following the instructions on the mod_jk howto on the jakarta
website, I've run into a problem.
>
> When I run make from the connectors jk/native2 directory, I get the
following error:
>
> /usr/bin/ld: cannot find -lapr
> collect2: ld returned 1 exit status
> make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
> make[1]: Leaving directory
`/bak/jakarta-tomcat-connectors-4.1.12-src/jk/native2/server/apache2'
> make: *** [jk2-build] Error 1
>
>
> What is lapr (something to do with apache portable runtime)?  How do I
install it?  I've searched on the web but found little info, and there
doesn't appear to be any docs in the connectors source download.
>
> thanks
> /j-p.
>
>
> JUSTATEST Art Online
> http://www.justatest.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>


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




RE: Compile jk2: make breaks

2002-10-18 Thread Brett Neumeier
You can also modify $JTC/jk/native2/build.xml -- change 



to



(of course if you're not using linux you should change a different one of
the linkOpt elements.  Or change them all, that works too.)

Cheers,

-bn


> -Original Message-
> From: Dom [mailto:dombat@;free.fr]
> Sent: Wednesday, October 16, 2002 3:41 PM
> To: Tomcat Users List
> Subject: Re: Compile jk2: make breaks
> 
> 
> Hi JP
> 
> I had the same trouble making mod_jk2 on a Mandrake 7.2
> 
> Only solution found : link  libapr-0.so to libapr.so in your
> $APACHE2_HOME/lib
> 
> for me
> in /usr/local/apache2/lib
> 
> ln -s libapr-0.so libapr.so
> 
> and make again
> 
> Dom
> 
> - Original Message -
> From: "john-paul delaney" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 15, 2002 11:14 PM
> Subject: Compile jk2: make breaks
> 
> 
> > Hello List...
> >
> > I'm trying to setup (compile from source) mod_jk2 with 
> apache2 & tomcat
> 4.1.12-LE.  Following the instructions on the mod_jk howto on 
> the jakarta
> website, I've run into a problem.
> >
> > When I run make from the connectors jk/native2 directory, I get the
> following error:
> >
> > /usr/bin/ld: cannot find -lapr
> > collect2: ld returned 1 exit status
> > make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
> > make[1]: Leaving directory
> `/bak/jakarta-tomcat-connectors-4.1.12-src/jk/native2/server/apache2'
> > make: *** [jk2-build] Error 1
> >
> >
> > What is lapr (something to do with apache portable 
> runtime)?  How do I
> install it?  I've searched on the web but found little info, and there
> doesn't appear to be any docs in the connectors source download.
> >
> > thanks
> > /j-p.
> >
> >
> > JUSTATEST Art Online
> > http://www.justatest.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 

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