I'm having problems getting configure to run when trying to build the jk2
connector for apache 2.0.48 on solaris 9. The tomcat I'm running is
5.0.19.

Here's a general list of what I've done...

1. Built apache 2.0.48 from source
   ./configure --prefix=/usr/apache2 --enable-so --enable-layout=Apache
   --enable-module=most --enable-mods-shared=most --enable-ssl
   make
   su -c "make install"

2. installed jdk 1.4.2_04 using instructions from http://java.sun.com - no
problems there

3. installed jakarta-tomcat-5.0.19 which runs when using jsvc per the
tomcat instructions.

4. downloaded jakarta-tomcat-connectors-jk2-src-current.tar.gz

5. gtar xzvf jakarta-tomcat-connectors-jk2-src-current.tar.gz

6. cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2

7. sh buildconf.sh - I get some errors about libtoolize and aclocal.m4
macro deprecation, but I read somewhere to ignore that.

8. ./configure --with-apxs2=/usr/apache2/bin/apxs

Tail of output from configure:

*** checking for cp... /bin/cp
*** checking for mkdir... /bin/mkdir
*** no apxs given
*** need to check for Perl first, apxs depends on it...
*** checking for perl... /bin/perl
*** building connector for "apache-2.0"
*** checking checking for apache13...... not provided
*** checking checking for apache20...... not provided
*** checking checking for iis...... not provided
*** checking checking for iPlanet...... not provided
*** checking for tomcat33 location... not provided
*** checking for tomcat40 location... not provided
*** checking for tomcat41 location... not provided
*** configure: error: Apache 1.3 requires apr to built from source, use
--with-apr and --with-apr-util


Why does configure say there was no apxs given? I gave it apxs2, didn't I?

Why's it saying Apache 1.3 requires apr to build from source? I've got
apache 2.0.48 installed, it must be incorrectly detecting it as 1.3
somehow. I've seen a few other posts like this but none had solutions. Is
there some way to force it to recognize that I've got Apache 2 here??

Thanks very much in advance for any help you might give...

Greg


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

Reply via email to