These instructions for for osx but are relevant to any *nix (at least most), I've done the same on slackware and redhat (albeit different directory structures).

also the libtool stuff probably wont be a problem on linux

http://homepage.mac.com/melowe/iblog/B141099555/C760077128/E1326304651/ index.html

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:

[EMAIL PROTECTED] root]# cd..
../jakarta-tomcat-connectors-jk2-2.0.4-src/jk
[EMAIL PROTECTED] 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:

[EMAIL PROTECTED] root]# ./buildconf.sh
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] root]# make

but that won't work too.

If I use:

[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to