[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-java
Subject:    www/mod_jk2 fails to build (Maintainer fix enclosed!)
From:       Larry Lansing <lansil () fuzzynerd ! com>
Date:       2003-06-30 18:09:26
[Download RAW message or body]


> 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\"])



_______________________________________________
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"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic