tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <mark.l...@boxstuff.com>
Subject Re: Problems building mod_jk2 with ant
Date Sat, 12 Jun 2004 11:37:31 GMT
I've never had any joy compiling jk or jk2 with ant, its more straight  
forward just to use the native scripts

./configure --with-apxs2=/usr/local/apache2/sbin/apxs
make

then copy the built module to the correct location.

Mark

On 12 Jun 2004, at 12:26, Lars Nielsen Lind wrote:

> I am having some problems building mod_jk2 with ant.
>
> I use jakarta-tomcat-connectors-jk2-2.0.4-src.
>
> I have modified
> ../jakarta-tomcat-connectors-jk2-2.0.4-src/jk/build.properties.sample
> this way:
>
> tomcat5.home=/opt/jakarta-tomcat-5.0.25
>
> and saved it as
> ../jakarta-tomcat-connectors-jk2-2.0.4-src/jk/build.properties
>
> Now I am running ant this way:
>
> [root@localhost root]# cd..
> ../jakarta-tomcat-connectors-jk2-2.0.4-src/jk
> [root@localhost root]# ant
>
> and the result is:
>
> BUILD FAILED
> file:/root/linux-downloadz/www.apache.org/jakarta/jakarta-tomcat- 
> connectors-jk2-2.0.4-src/jk/build.xml:142: Warning: Could not find  
> file  
> /root/linux-downloadz/www.apache.org/jakarta/jakarta-tomcat- 
> connectors-jk2-2.0.4-src/coyote/build/lib/tomcat-coyote.jar to copy.
>
> The coyote library is not there.
>
> I have also tried to do it another way:
>
> [root@localhost root]# ./buildconf.sh
> [root@localhost root]# ./configure
> --with-apxs2=/opt/apache-2.0.49/bin/apxs
> --with-tomcat5=/opt/jakarta-tomcat-5.0.25
> --with-java-home=/opt/j2sdk1.4.2_04 --with-jni
> [root@localhost root]# make
>
> but that won't work too.
>
> If I use:
>
> [root@localhost root]# ./configure --help
>
> I can see that it is only possible to use --with-tomcat<33, 40, 41>
>
>
> My OS is Fedora Core 2. Any one that can help me with this problem?
>
>
> /Lars Nielsen Lind
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message