In my experience, the apxs in /usr/sbin is the wrong one to use. Can you contact the person who installed your Apache? Apxs should be there.
I've never had a problem building the connectors using --with-apxs=/some/path/to/apache/bin/apxs for configure. Then again, I build my Apache from source. John > -----Original Message----- > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 1:16 PM > To: 'Tomcat Users List' > Subject: RE: Mod_jk Try #2 - error can't find apache > > > First line of apxs is #! /usr/bin/perl that location is > correct for perl. > There is alos a perl5.6.1. Should I try this one instead? > > Thanks. > > Denise > > > -----Original Message----- > From: Jan-Michael Ong [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 12:58 PM > To: Tomcat Users List; 'Tomcat Users List' > Subject: Re: Mod_jk Try #2 - error can't find apache > > > apxs requires perl to be available check the first line of apxs > > head -1 /usr/sbin/apxs > > It should say something like > > #!/usr/local/bin/perl or something along those lines > > check the availability of your perl install > > ls -l /usr/local/bin/perl > > if it says "not found" do a find for perl and replace that > line with the > location of the found perl. > > cd / > find . -name 'perl' -print & > > Hope that helps. > > Jan-Michael > > > > At 12:39 PM 12/13/2002 -0500, Denise Mangano wrote: > >Ok. So its time to give this another try. For try #2 I > decided to try > >to build mod_jk according to the HOW-TO. I'm running into a snag. > >When I run configure it is looking for a path to apxs. My Apache > >1.3.27 web server is up and running, I can view my website. Tomcat > >4.1.12 itself was running (before I shut it down to do this). I > >searched my entire server, and the only place I found apxs was in > >usr/sbin. So this is the path that I used for ./configure > >--with-apxs=/usr/sbin/apxs --with-java=${JAVA_HOME}. This is what > >happens: > > > >....everything prior to this checked out OK. > >checking for grep... /bin/grep > >checking for echo... /bin/echo > >checking for sed... /bin/sed > >checking for cp... /bin/cp > >checking for mkdir... /bin/mkdir > >checking for libtool... /usr/bin/libtool > >no apxs given > >checking for target platform... unix > >no apache given > >configure: error: Cannot find the WebServer > > > >Any ideas? Thanks :) > > > >Denise > > > >-- > >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]> > > -- > 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]>
