Date: Fri, 28 Feb 2003 17:02:41 +0100 (CET) From: Angelo Turetta <at-bsd@pvi.it> To: FreeBSD Java <freebsd-java@freebsd.org> Cc: Scott Reese <sreese@codysbooks.com> Subject: How to build jk/jk2 for apache13 and tomcat4.1.18 Message-ID: <200302281602.h1SG2fvo085375@pvi1.rainbownet.com> References: <3E5EC81E.5080304@codysbooks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Here is how I wrestled my way through the build process for mod_jk/mod_jk2 on freebsd47-stable. Download the connector sources from: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/src/ unpack the tarball (of course... :-) cd jakarta-tomcat-connectors-4.1.18-src cp jk/build.properties.sample jk/build.properties apply attached patch (patch <patchfile) cd jk ant native This creates the various connectors subdirs under 'build'. Beware, my config only builds the connectors for apache13 (see how the apache2 setings are commented out in build.properties after my patch). You will need apache-1.3.x, jdk-1.3.1x and jakarta-tomcat-4.1.18 ports installed. I also found that part of the building process (I forgot which module...) needs the apr library from apache2, so I had to 'make build' in the apache2 port directory, and then 'make install' from the /usr/ports/www/apache2/work/httpd-2.0.43/srclib/ directory to before being able to complete the build. Hope this helps, YMMV Angelo Turetta Commit - IT Consulting - Italy -------------------------------------------------------- uuencode-d patch follows -------------------------------------------------------- begin 644 connectors.patch M9&EF9B`M=7(@+B]J:R]B=6EL9"YP<F]P97)T:65S("XN+VIC;VYN+VIK+V)U M:6QD+G!R;W!E<G1I97,*+2TM("XO:FLO8G5I;&0N<')O<&5R=&EE<PE&<FD@ M1F5B(#(X(#$V.C`Y.C(R(#(P,#,**RLK("XN+VIC;VYN+VIK+V)U:6QD+G!R M;W!E<G1I97,)1G)I($9E8B`R."`Q-CHQ,#HS.2`R,#`S"D!`("TT+#(V("LT M+#(X($!`"B`C"B`*(",@1&ER96-T;W)Y('=H97)E('1O;6-A=#4@:7,@:6YS M=&%L;&5D"BUT;VUC870U+FAO;64]("XN+RXN+VIA:V%R=&$M=&]M8V%T+34O M8G5I;&0**R-T;V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<F5E8G-D(B`O/@H@("`@("`@/"]I M;F-L=61E<SX*("`@("`@(#QD97!E;F1S/@H@"3QF:6QE<V5T(&1I<CTB)'MN E871I=F4N9&ER?2]C;VUM;VXB(&EN8VQU9&5S/2(J+F@B("\^"@`` ` end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302281602.h1SG2fvo085375>