You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Evan Read <e....@qut.edu.au> on 2004/06/15 02:15:28 UTC

problem compiling jakarta-tomcat-connectors-jk2-2.0.4 native Module

Hi guys,

I have given up trying to do anything with Ant.  I found some 
instruction to build mod_jk2.so with configure scripts and the like. 
However, am coming across a problem which seems quite common, but can't 
find the fix in my instance.

I am trying to compile on Tru64 using GNU Make (specially installed for 
this) and the latest Apache 2. I customise my make file to include 
CFLAGS "-pthread".

Here are my configure arguments:

$ >./configure --with-apxs2=/usr/local/qut/bpr/httpd2/bin/apxs \
 > --with-tomcat41=/usr/local/qut/bpr/utils/jakarta-tomcat-4.1.30 \
 > --with-java-home=/usr/opt/java142 \
 > --with-apache2=/usr/local/qut/bpr/httpd2

I get the error at the bottom.  I tried following the instructions at 
this site: 
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=171478 
to no avail.

What will end my struggle?

Thanks.

--------------------------------------------------------------------------


ranlib ../../../build/jk2/apache2/.libs/libmod_jk2.a
creating ../../../build/jk2/apache2/mod_jk2.la
(cd ../../../build/jk2/apache2/.libs && rm -f mod_jk2.la && ln -s 
../mod_jk2.la mod_jk2.la)
/usr/local/qut/bpr/httpd2/build/libtool --mode=install /sbin/cp 
../../../build/jk2/apache2/mod_jk2.la 
`pwd`/../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules
/sbin/cp ../../../build/jk2/apache2/.libs/libmod_jk2.so 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2/../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules/libmod_jk2.so
/sbin/cp ../../../build/jk2/apache2/.libs/mod_jk2.lai 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2/../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules/mod_jk2.la
/sbin/cp ../../../build/jk2/apache2/.libs/libmod_jk2.a 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2/../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules/libmod_jk2.a
ranlib 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2/../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules/libmod_jk2.a
chmod 644 
/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2/../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules/libmod_jk2.a
libtool: install: warning: remember to run `libtool --finish 
/usr/local/qut/bpr/httpd2/modules'
/sbin/cp 
../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules/mod_jk2.so 
../../../build/jk2/apache2/mod_jk2.so
cp: 
../../../build/jk2/apache2//usr/local/qut/bpr/httpd2/modules/mod_jk2.so: 
No such file or directory
make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1
make[1]: Leaving directory 
`/usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1
-- 
------------------------------------
Evan Read
Business Process Consultant
Call Center Section
Information Technology Services
Queensland University of Technology
Phone: 3864 2160 (x2160)
Email: e.read@qut.edu.au
CRICOS No. 00213J
------------------------------------

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