Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2009 00:23:00 +0100
From:      Frederic de la Goublaye <fredericdelagoublaye@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   How to install mod_jk apache22 and FreeBSD 8.0
Message-ID:  <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32a0facf0912091523j4b28c4e6ycc4b920f374b915a>