tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yiannis Mavroukakis <>
Subject RE: mod_jk2 build error
Date Fri, 02 Apr 2004 08:40:40 GMT
SImple :) don't follow the instructions. 
Do a ./configure --help to get the options you need (--with-apxs2 --with-jni
--with-pcre and related java/tomcat options) then do a straight make and
manually copy the binary to your web server's module location.

-----Original Message-----
From: Thomas D. Zeimet []
Sent: 02 April 2004 05:42
Subject: mod_jk2 build error


I am trying to build the latest release of the JK2 connector:
jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0,
httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19.

I follow the directions in

    cd jakarta-tomcat-connectors/jk/native2
    ./configure --with-apxs2=/your/path/to/apxs
    cd ../build/jk2/apache2
    apxs -n jk2 -i

but the make fails with the following:

libtool: install: warning: remember to run `libtool --finish
/bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/
/bin/cp: cannot stat
`../../../build/jk2/apache2//usr/local/apache2/modules/': No such
file or directory
make[1]: *** [../../../build/jk2/apache2/] Error 1
make[1]: Leaving directory
make: *** [jk2-build] Error 1

The ./configure step ends with the following:
checking for rm... /bin/rm
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
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/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: creating ./config.status
config.status: creating Makefile
config.status: creating server/apache13/Makefile
config.status: creating server/apache13/Makefile.apxs
config.status: creating server/apache2/Makefile
config.status: creating server/apache2/Makefile.apxs
config.status: creating ../
config.status: creating scripts/build/unix/dummy
config.status: executing depfiles commands

I didn't have any problems with the previous JK2 version.  Can anyone give
me a
hint on how to resolve this?

Thanks much,

Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway

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

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message