Skip site navigation (1)Skip section navigation (2)
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:   ports/53934: www/mod_jk2 fails to build (Maintainer fix enclosed!)
Message-ID:  <200306301809.h5UI9QSZ036308@fuzzilicious.fuzzynerd.com>
Resent-Message-ID: <200306301820.h5UIKG2l088718@freefall.freebsd.org>

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

>Number:         53934
>Category:       ports
>Synopsis:       www/mod_jk2 fails to build (Maintainer fix enclosed!)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 30 11:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Larry Lansing
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
AgileView Software Inc.
>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\"])



>Release-Note:
>Audit-Trail:
>Unformatted:



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