Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2009 00:25:33 +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:  <32a0facf0912091525h32304baay3a1cdcdd78f3e491@mail.gmail.com>
In-Reply-To: <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com>
References:  <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The exact error when using the mod_jk-apache2 ports is

# cd /usr/ports/www/mod_jk-apache2
# make

/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo
../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo
../common/jk_status.lo
/usr/local/lib: file not recognized: File format not recognized
gmake[1]: *** [mod_jk.la] Error 1
gmake[1]: Leaving directory
`/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apa=
che-2.0'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/www/mod_jk-apache2.


On Thu, Dec 10, 2009 at 12:23 AM, Frederic de la Goublaye
<fredericdelagoublaye@gmail.com> wrote:
> 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
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
> =3D>server environment
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
>
> 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
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
> =3D >COMPILE mod_jk from sources
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
> # 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=3D/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
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
> =3D> 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.
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
>
> 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=E9d=E9ric
>



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