How to install mod_jk apache22 and FreeBSD 8.0
Frederic de la Goublaye
fredericdelagoublaye at gmail.com
Wed Dec 9 23:54:41 UTC 2009
Hi
I tried to install mod_jk for apache 22 and tomcat 5.5.28 on FreeBSD 8.0
I tried two ways but there is an error in each of them: compilation
from src or ports
=========================================================
=>server environment
=========================================================
I already installed:
FreeBSD8.0 (generic kernel)
apache22 from the port
diablo-jdk1.5.0 with pack_add
apache-ant-1.7.1
tomcat-5.5.28 with compilation from ant
=========================================================
= >COMPILE mod_jk from sources
=========================================================
# cd /usr/local/
# tar xvf tomcat-connectors-1.2.28-src.tar.gz
# cd /usr/local/tomcat-connectors-1.2.28-src
# ./configure --with-apxs=/usr/local/sbin/apxs
/usr/bin/ld: unrecognized option '-pthread'
/usr/bin/ld: use the --help option for usage information
*** Error code 1
Stop in /usr/local/tomcat-connectors-1.2.28-src/native/apache-2.0.
*** Error code 1
========================================================
=> use the mod_jk-apache2 ports
# cd /usr/ports/www/mod_jk-apache2
# make
gmake: *** [all-recursive] Error 1
*** Error code 1
Stop in /usr/ports/www/mod_jk-apache2.
========================================================
Can you help me to find a solution ?
You can help in any of the two ways to install : compilation or ports
I just want to make it works :+)
Cheers
Frédéric
More information about the freebsd-java
mailing list