You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Tony F. White" <to...@worldlingo.com> on 2004/07/01 03:45:07 UTC

AGAIN jk2 2.0.4 compile

Hi,

I recently setup a machine with Apache 2.0.49 and Tomcat 5, using mod_jk to connect them.  For the first time everything when smooth as… couldn’t believe it.

Then today I went to update apache to 2.0.50 which compiled fine but procedure dictates that mod_jk also gets recompiled…. that is when I hit the dreaded error:

error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util

I have had this problem before but thought had it licked on the new machine, so was extremely unhappy it had reared its ugly head again… This time I was determined to get to the bottom of it and so I stuck my nose into the configure script and went looking for what causes this to be printed out…
I found this line in the configure script:
if ! ${TEST} -z "$APACHE_HOME" ; then

And I knew then I had found the problem… we have this variable set in the environment to aid in setting paths etc.
So I did an unset APACHE_HOME, tried the configure command again and it WORKED!!!!
So finally I have managed to work out why it would not compile for me.  Perhaps this is the same reason it happens for others (perhaps a note of this should be made in the documentation...)?

Best of luck
Tony




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