You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Louis LeBlanc <le...@keyslapper.org> on 2003/04/24 21:40:41 UTC
Re: mod_jk2 from source - brief HOW TO (fixed problem with FreeBSD 4.8 build)
On 04/24/03 09:30 PM, Mladen Turk sat at the `puter and typed:
>
>
> > -----Original Message-----
> > From: Louis LeBlanc
> >
> > # diff -c2 Makefile.in.orig Makefile.in
>
> Could you run it using diff -u3 ?
>
> > *** Makefile.in.orig Thu Apr 24 14:23:43 2003
> > --- Makefile.in Thu Apr 24 14:31:59 2003
> > ***************
> > *** 9,12 ****
> > --- 9,13 ----
> > APACHE2_LIBDIR=@APACHE2_HOME@/lib
> > APR_INCL=@APR_CFLAGS@
> > + APR_LIBDIR=@APACHE2_HOME@/lib/apache2
>
> @APACHE2_HOME@/lib/apache2 is freebsd specific apr libdir, or you did
> some tweaking?
This is the location of all the apr libs when Apache 2.0.45 is
installed from the ports, so I assume it is the FreeBSD specific apr
dir.
> And please forward to either bugzilla or tomcat-dev.
Will do.
--- Makefile.in.orig Thu Apr 24 14:23:43 2003
+++ Makefile.in Thu Apr 24 14:31:59 2003
@@ -8,6 +8,7 @@
APACHE2_LIBEXEC=@APACHE2_LIBEXEC@
APACHE2_LIBDIR=@APACHE2_HOME@/lib
APR_INCL=@APR_CFLAGS@
+APR_LIBDIR=@APACHE2_HOME@/lib/apache2
EXTRA_CFLAGS=@APXS2_CFLAGS@
EXTRA_CPPFLAGS=@APXS2_CPPFLAGS@
CC=@CC@
@@ -25,7 +26,7 @@
# Yes, we use the same properties file as ant
#include ../../../build.properties
-LIBTOOL=${APACHE2_HOME}/build/libtool
+LIBTOOL=${APACHE2_HOME}/bin/libtool
# It doesn't hurt if we include all
INCLUDES= -I${JK_DIR}/include \
@@ -34,7 +35,7 @@
${JAVA_INCL}
JK_CFLAGS=-DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR @HAVE_JNI@ @HAS_PCRE@
-JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 @PCRE_LIBS@
+JK_LDFLAGS=-L${APACHE2_LIBDIR} -L${APR_LIBDIR} -lcrypt -lapr -0 @PCRE_LIBS@
###### Based on rules.mk ##########################################
ALL_CFLAGS = $(EXTRA_CFLAGS) $(NOTEST_CFLAGS) $(CFLAGS)
--
Louis LeBlanc leblanc@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ
The universe is an island, surrounded by whatever it is that surrounds
universes.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org