I think you have a success. The error you're getting is at the very end of the build process after all the compiles and linking. Do a find for the mod_jk2.so file in your build directory. The error you saw could be because of the // in the middle of the source path for the cp command.

--David

Evan Read wrote:

Resend due to SPAM blockage.

Thanks.

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

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



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



Reply via email to