From owner-freebsd-java@FreeBSD.ORG Thu Jun 12 11:49:52 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7478837B401 for ; Thu, 12 Jun 2003 11:49:52 -0700 (PDT) Received: from rambutan.pingpong.net (81.milagro.bahnhof.net [195.178.168.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EA5A43FA3 for ; Thu, 12 Jun 2003 11:49:51 -0700 (PDT) (envelope-from girgen@pingpong.net) Received: from localhost (localhost [127.0.0.1])h5CIoDa6035567; Thu, 12 Jun 2003 20:50:13 +0200 (CEST) (envelope-from girgen@pingpong.net) Date: Thu, 12 Jun 2003 20:50:13 +0200 From: Palle Girgensohn To: =?ISO-8859-1?Q?Eric_Hedstr=F6m?= Message-ID: <227490000.1055443813@rambutan.pingpong.net> In-Reply-To: <3EE8C773.1080905@ucsd.edu> References: <46910000.1055413025@rambutan.pingpong.net> <3EE88135.6080606@ucsd.edu> <125620000.1055426581@rambutan.pingpong.net> <3EE8C773.1080905@ucsd.edu> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline cc: java@freebsd.org cc: Zhong.Lun@bluewave.com Subject: Re: port mod_jk, mod_jk2 & apache2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 18:49:52 -0000 Hi, Humm, I will have to move the ${ACLOCAL} from post-patch to pre-configure,=20 I guess. My guess is build_depends are not installed until after patch. Thanks for the input! /Palle --On torsdag, juni 12, 2003 11.33.23 -0700 Eric Hedstr=F6m = wrote: > I didn't have automake installed. After I installed that, mod_jk pulled > in autoconf and everything built cleanly. I'm trying out mod_jk now. > > So I don't know if this is a problem with this port or the ports system > in general... This system has 4.8-RELEASE with ports cvsuped yesterday. > > Thanks! > Eric > > Palle Girgensohn wrote: >> Hi! >> >> aclocal is part of the automake distribution. >> >> USE_AUTOMAKE_VER=3D 15 >> >> should be sufficient to create a build dependency on automake, and hence >> install aclocal... Do you have automake installed? If you do, you should >> have aclocal in ${LOCALBASE}, alas /usr/local/bin. It would be great if >> you could check this, if there's a problem with the port, I'd like to >> know. >> >> /Palle >> >> >> --On torsdag, juni 12, 2003 06.33.41 -0700 Eric Hedstr=F6m >> wrote: >> >>> Hi folks, >>> I got the same error yesterday when I tried making mod_jk after = cvsuping >>> ports. Where does aclocal come from? I was thinking maybe autoconf but >>> haven't had a chance to look further yet. Anyway, it looks like the = port >>> is missing a build-time dependency. >>> >>> Eric >>> >>> Palle Girgensohn wrote: >>> >>>> Hi Zhong, >>>> >>>> First, the first error is that aclocal cannot be found. Do you have it >>>> installed in /usr/local/bin/aclocal? Since aclocal cannot be found, do >>>> you have /usr/local/bin in your path? Is automake installed? >>>> >>>> Next, there is no comitted port for apache2 & mod_jk. They're still in >>>> GNATS. >>>> >>>> The ports I mentioned in my mail are not in the ports tree yet, (apart >>>> from mod_jk for apache13), they are still in GNATS. If you like, = please >>>> try them, perhaps they work better? I'm not sure they will work better >>>> for you, only that they work for me. :) >>>> >>>> = >>> r=3D gir gen> >>>> >>>> You will have to extract them from the PRs, or wait until they get >>>> comitted. >>>> >>>> Hope this works for you. Please mail me if you have more questions. >>>> >>>> /Palle >>>> >>>> --On torsdag, juni 12, 2003 15.45.28 +0800 Zhong.Lun@bluewave.com >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> Since I knew there is a fix, I tried to install but failed. I = download >>>>> the >>>>> ports(apache2, mod_jk & mod_jk2) from FreeBSD. The status is >>>>> >>>>> compiling & installing apache2 OK >>>>> >>>>> compiling mod_jk: >>>>> >>>>> # make >>>>> =3D=3D=3D> Extracting for mod_jk-1.2.3,1 >>>>> >> Checksum OK for >>>>> >> jakarta-tomcat-connectors-jk-1.2.3-src.tar.gz. >>>>> =3D=3D=3D> Patching for mod_jk-1.2.3,1 >>>>> =3D=3D=3D> Applying FreeBSD patches for mod_jk-1.2.3,1 >>>>> cd >>>>> /usr/ports/www/mod_jk/work/jakarta-tomcat-connectors-jk-1.2.3-src/jk/ >>>>> na ti ve; >>>>> >>>>> aclocal; /usr/local/bin/libtoolize >>>>> aclocal: not found >>>>> *** Error code 127 >>>>> >>>>> Stop in /usr/ports/www/mod_jk. >>>>> >>>>> compiling mod_jk2: >>>>> >>>>> # make >>>>> =3D=3D=3D> Building for mod_jk-apache2-1.2.2 >>>>> Making all in common >>>>> gmake[1]: Entering directory >>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j >>>>> k/ na tive/common' gmake[1]: Nothing to be done for `all'. >>>>> gmake[1]: Leaving directory >>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j >>>>> k/ na tive/common' Making all in apache-2.0 >>>>> gmake[1]: Entering directory >>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j >>>>> k/ na tive/apache-2.0' /bin/sh >>>>> /usr/local/share/apache2/build/libtool >>>>> --silent --mode=3Dlink cc -I/usr/local/include/apache2 -O -pipe >>>>> -DUSE_APACHE_MD5 -I ../common -I /usr/local/jdk1.3.1/include -I >>>>> /usr/local/jdk1.3.1/include/unix -D_REENTRANT -D_THREAD_SAFE -O -pipe >>>>> -DNO_IDEA -O -pipe -D_REENTRANT -D_THREAD_SAFE -o mod_jk.la = -module >>>>> -rpath >>>>> /usr/local/libexec/apache2 -avoid-version mod_jk.lo >>>>> ../common/jk_ajp12_worker.lo ../common/jk_connect.lo >>>>> ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo >>>>> ../common/jk_pool.lo ../common/jk_worker.lo >>>>> ../common/jk_ajp13_worker.lo >>>>> ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo >>>>> ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo >>>>> ../common/jk_ajp14_worker.lo ../common/jk_md5.lo >>>>> ../common/jk_ajp_common.lo ../common/jk_context.lo >>>>> libtool: link: `../common/jk_ajp12_worker.lo' is not a valid >>>>> libtool >>>>> object >>>>> gmake[1]: *** [mod_jk.la] Error 1 >>>>> gmake[1]: Leaving directory >>>>> `/usr/ports/www/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/j >>>>> k/ na tive/apache-2.0' gmake: *** [all-recursive] Error 1 *** >>>>> Error code 2 >>>>> >>>>> Stop in /usr/ports/www/mod_jk2. >>>>> >>>>> The FreeBSD version is 4.8. >>>>> >>>>> I am new to FreeBSD, please help, thanks. >>>>> >>>>> Regards, >>>>> Zhong Lun >>>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> freebsd-java@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-java >>>> To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" >>> >>> >> >> >> >> >> >