RE: How To Build mod_jk?????
Bongrip, I had the same problem, the files were supposed to be made in the jk/build/jk2/apache2/.libs/ directory, but I never found them. Eventually I reverted back to mod_jk which i built into apache. Stuart -Original Message- From: Bongrip [mailto:[EMAIL PROTECTED] Sent: 17 August 2003 17:20 To: Tomcat Users List Subject: Re: How To Build mod_jk? Eric J. Pinnell wrote: Hi, I don't use ant. I use make. It appears that you are trying to build JK2. In the native2 directory: ./configure --with-apxs2=/path/to/apache/bin/apxs make Yes, that was exactly what I was trying. configure and make both complete fine, however I never get the 2 resulting .so files anywhere in the filesystem. ??? -CC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How To Build mod_jk?????
Eric J. Pinnell wrote: Hi, I don't use ant. I use make. It appears that you are trying to build JK2. In the native2 directory: ./configure --with-apxs2=/path/to/apache/bin/apxs make Yes, that was exactly what I was trying. configure and make both complete fine, however I never get the 2 resulting .so files anywhere in the filesystem. ??? -CC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How To Build mod_jk?????
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 other663 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 other663 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]
Re: How To Build mod_jk?????
Hi, I don't use ant. I use make. It appears that you are trying to build JK2. In the native2 directory: ./configure --with-apxs2=/path/to/apache/bin/apxs make -e On Sat, 16 Aug 2003, Bongrip wrote: 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 other663 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 other663 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HELP, HOW TO BUILD MOD_JK FROM SOURCE
- download source - run buildconf.sh - ./configure --with-apxs=/path/to/your/apxs - make - make install I think with RH's 2.0.40 you also need to point to APR (--with- apr=/some/path/to/apr I think), but I'm not sure because I don't use RH's 2.0.40. John On Wed, 2 Jul 2003 21:42:57 -0400 (EDT), Dumisani Nlebgwa [EMAIL PROTECTED] wrote: Hi guys, this is kind of stupid but does anyone know or have any good documentation of how I can build mod_jk from source? I am using redhat 9 and i use the apache2.0.40 that came with it and tomcat 4.1 --Dumi *---* * Dumisani Nlebgwa* * 631 216 1622* * You can't pronounce my name?* * -but its so phonetic! * *---* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HELP, HOW TO BUILD MOD_JK FROM SOURCE
Hi guys, this is kind of stupid but does anyone know or have any good documentation of how I can build mod_jk from source? I am using redhat 9 and i use the apache2.0.40 that came with it and tomcat 4.1 --Dumi *---* * Dumisani Nlebgwa* * 631 216 1622* * You can't pronounce my name?* * - but its so phonetic! * *---* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]