tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <its_toas...@yahoo.com>
Subject Re: mod_jk2 build errors
Date Sun, 27 Apr 2003 16:12:00 GMT
Michael,

This was done on Redhat 9 Linux, but it should work
for all flavors of UNIX systems.  I'll mark the
Redhat-specific ones with
<redhat></redhat>

<redhat>
Apache 2.0.45 was used on Redhat 9 Linux.  The Apache
rpm that was installed with Redhat was uninstalled. 
Tomcat was installed from a binary tarball and not the
rpm.
</redhat>

1. Download
jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz from
  
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/

2. Uncompress it and extract the tar file.

3. cd to
jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2

4. chmod u+x configure

5. Run configure with:

   ./configure 
   --with-apxs2=<apache-root-directory>/bin/apxs \
   --with-tomcat41=<tomcat-root-directory> \
   --with-java-home=<java-root-directory> \
   --with-jni \
   --with-pcre

For example:

  ./configure --with-apxs2=/home/apache/bin/apxs \
	      --with-tomcat41=/home/tomcat \
	      --with-java-home=/usr/java \
	      --with-jni \
	      --with-pcre

6. Run make

7. The two .so files (mod_jk2.so and jkjni.so) will be
in:

  
jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/jk2/apache2

8. Copy those to files to
<apache-root-directory>/modules with the proper
permissions.  It's been reported that make install may
not do the right thing.

9. Configure and restart

HTH

/mde/

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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


Mime
View raw message