Date: Fri, 16 Mar 2001 08:41:52 +0900 (JST) From: Daichi GOTO <daichi@ongs.gr.jp> To: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Message-ID: <84751600.984699712758.JavaMail.daichi@localhost> In-Reply-To: <20010310084224.B64357@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Gah. You only need to change two lines. The first change allows you to > set APACHE_HOME as an environment variable for wherever you have it > installed. The second change means you don't need any thread packages and > fixes the compile of jk_util.c (-DLINUX in Makefile.freebsd must be a bug). > > --- Makefile.freebsd.orig Sat Mar 10 08:32:57 2001 > +++ Makefile.freebsd Sat Mar 10 08:34:24 2001 > @@ -1,6 +1,6 @@ > ## You need to edit this file - configure later :-) > > -APACHE_HOME=/usr/local/apache > +APACHE_HOME?=/usr/local/apache > OS=freebsd > APXS=${APACHE_HOME}/bin/apxs > > @@ -12,7 +12,7 @@ > JAVA_INCL=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS} > JAVA_LIB=-L${JAVA_HOME}/jre/lib/${ARCH} -L${JAVA_HOME}/lib/${ARCH}/native_threads > > -CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DLINUX -Wall > +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -DFREEBSD -Wall > > JK=../jk/ > SRCS=jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c \ I had made patch to build mod_jk.so for JDK122 and Apache that are installed by ports. --- Makefile.freebsd.orig Wed Dec 13 07:51:55 2000 +++ Makefile.freebsd Fri Mar 16 08:30:23 2001 @@ -1,18 +1,18 @@ ## You need to edit this file - configure later :-) -APACHE_HOME=/usr/local/apache +APACHE_HOME?=/usr/local/apache OS=freebsd -APXS=${APACHE_HOME}/bin/apxs +APXS=/usr/local/sbin/apxs A13_FLAGS=-I${APACHE_HOME}/include ## I assume this one is set up already -# JAVA_HOME= +JAVA_HOME?=/usr/local/jdk1.2.2 JAVA_INCL=-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS} JAVA_LIB=-L${JAVA_HOME}/jre/lib/${ARCH} -L${JAVA_HOME}/lib/${ARCH}/native_threads -CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -D_REENTRANT -pthread -DLINUX -Wall +CFLAGS=-DHAVE_CONFIG_H -g -fpic -DSHARED_MODULE -O2 -DFREEBSD -Wall JK=../jk/ SRCS=jk_ajp12_worker.c jk_connect.c jk_msg_buff.c jk_util.c jk_ajp13.c \ Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp 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?84751600.984699712758.JavaMail.daichi>