Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2002 22:32:27 +0200
From:      Ernst de Haan <znerd@FreeBSD.org>
To:        =?iso-8859-1?q?S=F8ren=20Neigaard?= <neigaard@e-box.dk>, freebsd-java@FreeBSD.ORG
Subject:   Re: Error when compiling mod:jk port, please help
Message-ID:  <200204062032.WAA06956@smtp.hccnet.nl>
In-Reply-To: <1402785194.20020406222618@e-box.dk>
References:  <1402785194.20020406222618@e-box.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204062032.WAA06956>