From owner-freebsd-java@FreeBSD.ORG Wed Dec 9 23:53:04 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66DC1106566C for ; Wed, 9 Dec 2009 23:53:04 +0000 (UTC) (envelope-from fredericdelagoublaye@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id BCA9A8FC12 for ; Wed, 9 Dec 2009 23:53:03 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so1792499eye.9 for ; Wed, 09 Dec 2009 15:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=V2BIFKulscVyJLz2VSjl9SffKaNNrsyStVN7QC5UohY=; b=MjOf0O35qu6iKwGz3d30Ufr5g/QbWD29UQgzCrAaPeuPFnR6r1o10RVnurfAMAA0yY kweBL1qAZeuN1V1Stsnb3tdmdj0CMe0gyGansJk27pKNN/PCEDaEuZ7KTQGx5ZI7dSZ9 ESRnCH8mKhoN9sEkRlTzutP96ygjebfmcJn4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=gLWh6SrTwOPwnsrAIGzc0F8mYmCMfl8ZAJxyLKy8rMlKi1rNtopHs13eNOYe3lsZpZ 2buqzOl4bmRPsy7nDQpXTRNBQLyuPFKqbc3f7Ne24a+WK1lijutZhMqEO2HtVkcw5S1j 00F+Dh1F0cmReNSPFww/W5LsgOB1scHyiOksY= MIME-Version: 1.0 Received: by 10.213.48.75 with SMTP id q11mr2172493ebf.84.1260401133429; Wed, 09 Dec 2009 15:25:33 -0800 (PST) In-Reply-To: <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com> References: <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com> Date: Thu, 10 Dec 2009 00:25:33 +0100 Message-ID: <32a0facf0912091525h32304baay3a1cdcdd78f3e491@mail.gmail.com> From: Frederic de la Goublaye To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: How to install mod_jk apache22 and FreeBSD 8.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 23:53:04 -0000 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 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 >