From owner-freebsd-java Sat Apr 6 12:32:38 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 70B6D37B41E for ; Sat, 6 Apr 2002 12:32:33 -0800 (PST) Received: from there by smtp.hccnet.nl via uds104-60.dial.hccnet.nl [62.251.60.104] with SMTP id WAA06956 (8.8.8/1.13); Sat, 6 Apr 2002 22:32:31 +0200 (MET DST) Message-Id: <200204062032.WAA06956@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: =?iso-8859-1?q?S=F8ren=20Neigaard?= , freebsd-java@FreeBSD.ORG Subject: Re: Error when compiling mod:jk port, please help Date: Sat, 6 Apr 2002 22:32:27 +0200 X-Mailer: KMail [version 1.3.2] References: <1402785194.20020406222618@e-box.dk> In-Reply-To: <1402785194.20020406222618@e-box.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Soren, Update your ports collection (or at least ports-base and ports-www) and you're ready for rock 'n roll! :-) Note that the current www/jakarta-tomcat port installs Tomcat 4 which is not supported by the www/mod_jk port. I suggest you deinstall your current Tomcat 3 port and then install www/mod_jk. It will automatically install Tomcat 3.3.1 for you and a working mod_jk. Next time please use the following procedure to report a problem: Send a problem report using the send-pr(1) tool. Send a CC to both the port maintainer (me in this case) and to a relevant mailing list (freebsd-java in this case). This way the problem can be tracked and won't get lost :) Please do report if you were successful! Kind regards, Ernst On Saturday 06 April 2002 22:26, Søren Neigaard wrote: > When I try to compile the mod_jk port, I get the following error, what > can that meen, and what do I do: > > ===> Building for mod_jk-3.2.4 > /usr/bin/sed -e "s#%%APXS%%#/usr/local/sbin/apxs#g" -e > "s#%%JAVA_HOME%%#/usr/local/jdk1.3.1#g" > /usr/ports/www/mod_jk/files/Makefile.freebsd > > /usr/ports/www/mod_jk/work/jakarta-tomcat-3.2.4-src/src/native/apache1.3/Ma >kefile.freebsd cc -c -DHAVE_CONFIG_H -fpic -DSHARED_MODULE -DFREEBSD -Wall > -DHAVE_CONFIG_H -fpic -DSHARED_MODULE -DFREEBSD -Wall > -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd > -I/usr/local/include/apache ../jk//jk_jni_worker.c -o jk_jni_worker.o > ../jk//jk_jni_worker.c:67: jni.h: No such file or directory > ../jk//jk_jni_worker.c:770: warning: #warning > ------------------------------------------------------- > ../jk//jk_jni_worker.c:771: warning: #warning NO JAVA 2 HEADERS! SUPPORT > FOR JAVA 2 FEATURES DISABLED > ../jk//jk_jni_worker.c:772: warning: #warning > ------------------------------------------------------- > gmake: *** [jk_jni_worker.o] Error 1 > *** Error code 2 > > Stop in /usr/ports/www/mod_jk. > *** Error code 1 > > Stop in /usr/ports/www/mod_jk. > *** Error code 1 > > Stop in /usr/ports/www/mod_jk. > *** Error code 1 > > Stop in /usr/ports/www/mod_jk. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message