I have been trying to build mod_jk and it seems the documentation is lacking and the instructions do not work.
First my system:
Solaris 8 64-bit with latest patch cluster gcc 3.3 AND Sun's Forte Dev 7 compiler Tomcat 4.1.27 (installed and running fine) Apache 2.0.47 (installed and running fine) j2sdk1.4.1_04 Ant 1.5.4
I downloaded jakarta-tomcat-connectors-jk2-2.0.2-src and extracted it.
I then renamed build.properties.sample to build.properties and edited all the paths.
The documentation says to run 'ant', here is the output: Buildfile: build.xml
detect: [echo] -------- jakarta-tomcat-connectors --------
prepare:
BUILD FAILED
file:/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:105: Warning: Could not find file /root/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/lib/tomcat-coyote.jar to copy.
Total time: 3 seconds
I then changed to this directory: jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
% CC=gcc ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-tom
cat41=/usr/local/jakarta-tomcat-4.1.27 --with-java-home=/usr/j2sdk1.4.1_04 --with-jni
% make
Make completes and I then get these 2 files in /usr/local/apache2/modules: -rw-r--r-- 1 root other 945542 Aug 16 16:50 mod_jk.a -rw-r--r-- 1 root other 663 Aug 16 16:50 mod_jk.la
At then end of the make it also says this:
libtool: install: warning: remember to run `libtool --finish /usr/local/apache2/modules'
So, if I do that:
hurley:~/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 #libtool --finish /usr/local/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/apache2/modules
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ----------------------------------------------------------------------
Now when I look in /usr/local/apache2/modules:
-rw-r--r-- 1 root other 945542 Aug 16 16:50 mod_jk.a -rw-r--r-- 1 root other 663 Aug 16 16:50 mod_jk.la
What am I missing or what is the problem?
Thanks, Chuck
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]