Date: Mon, 30 Jun 2003 14:09:26 -0400 (EDT) From: Larry Lansing <lansil@fuzzynerd.com> To: FreeBSD-gnats-submit@freebsd.org Cc: pck@missTCP.net Subject: www/mod_jk2 fails to build (Maintainer fix enclosed!) Message-ID: <200306301809.h5UI9QSZ036308@fuzzilicious.fuzzynerd.com>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Larry Lansing >Organization: AgileView Software Inc. >Confidential: no >Synopsis: www/mod_jk2 fails to build (Maintainer fix enclosed!) >Severity: non-critical >Priority: medium >Category: ports >Class: maintainer-update >Release: FreeBSD 5.0-CURRENT i386 >Environment: System: FreeBSD fuzzilicious.fuzzynerd.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Apr 1 11:50:43 EST 2003 root@fuzzilicious.fuzzynerd.com:/usr/obj/usr/src/sys/FUZZILICIOUS i386 >Description: Attempting to build mod_jk2 yields the following: libtool: link: `../common/jk_ajp12_worker.lo' is not a valid libtool object >How-To-Repeat: I could not reproduce this bug on 5.x, I received one report from someone who did. I wasn't aware of the problem until I started receiving bug reports from people running 4.7 and 4.8. If you attempt to build mod_jk2 on 4.x, you should be able to repeat this bug 100% of the time. >Fix: I found a one-line fix that seems to eliminate this problem for me. Thanks go to the apache folks, who rolled this into one of the later mod_jk versions. I'll update the port to the latest version in the near future. Until then, please commit this fix. Fix: replace the contents of www/mod_jk2/files/patch-configure.in with the following: --- configure.in.orig Tue Dec 17 05:20:55 2002 +++ configure.in Mon Jun 30 13:03:18 2003 @@ -102,7 +102,8 @@ WEBSERVER="apache-2.0" APXSCFLAGS="`${APXS} -q CFLAGS` `${APXS} -q EXTRA_CFLAGS`" APXSCPPFLAGS="`${APXS} -q EXTRA_CPPFLAGS`" - APACHE_CONFIG_VARS=${apache_dir}/build/config_vars.mk + APACHE_CONFIG_VARS=${prefix}/share/apache2/build/config_vars.mk + LIBTOOL=`$APXS -q LIBTOOL` fi AC_MSG_RESULT([building connector for \"$WEBSERVER\"])
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306301809.h5UI9QSZ036308>