Bug 53934 - www/mod_jk2 fails to build (Maintainer fix enclosed!)
Summary: www/mod_jk2 fails to build (Maintainer fix enclosed!)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 19:20 UTC by Larry Lansing
Modified: 2003-09-04 13:08 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (571 bytes, patch)
2003-06-30 19:20 UTC, Larry Lansing
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Lansing 2003-06-30 19:20:14 UTC
Attempting to build mod_jk2 yields the following:

libtool: link: `../common/jk_ajp12_worker.lo' is not a valid libtool object

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:
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.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-07-23 19:08:33 UTC
State Changed
From-To: open->feedback

First, your patch does not apply (probably tabs vs. spaces issue) 
second, I applied the patch manual, but something fails: 

===>  Installing for mod_jk-apache2-1.2.2 
===>   mod_jk-apache2-1.2.2 depends on file: /usr/local/sbin/apxs - found 
===>   Generating temporary packing list 
===>  Checking if www/mod_jk2 already installed 
/usr/local/sbin/apxs -i -A -n jk /usr/home/tilman/ports/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/native/apache-2.0/mod_jk.so 
[preparing module `jk' in /usr/local/etc/apache/httpd.conf] 
cp /usr/home/tilman/ports/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/native/apache-2.0/mod_jk.so /usr/local/libexec/apache/mod_jk.so 
cp: /usr/home/tilman/ports/mod_jk2/work/jakarta-tomcat-connectors-jk-1.2.2-src/jk/native/apache-2.0/mod_jk.so: No such file or directory 
apxs:Break: Command failed with rc=1 
*** Error code 1
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-09-04 13:08:34 UTC
State Changed
From-To: feedback->closed

Commited, thanks! 
(arved should try it with apache2 :-)