My advice: don't even deal with ant.

CONNECTOR_HOME = place where you put connector source

- cd CONNECTOR_HOME/jk/native. Be sure to READ the file named BUILDING. 
- run the buildconf script: ./buildconf.sh 
- you may see some error messages about aclocal and autom4te...these can be
ignored. 
- run the configure script: ./configure
--with-apxs=/some/path/to/apache/bin/apxs 
- run make 
- the mod_jk.so file should be in CONNECTOR_HOME/jk/native/apache-1.3. Copy
it to your Apache modules directory. 

OR

download a binary

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2
/bin/linux/i386/

John


> -----Original Message-----
> From: Stephen Carville [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 16, 2003 4:41 PM
> To: Tomcat User
> Subject: Building Mod_jk on Redhat 7.2
> 
> 
> I am trying to build mod_jk for Apache 1.3.X running on Redhat 7.2.  
> I downloaded the source, read README.txt set the path to tomcat and 
> apache in build.properties, typed 'ant', and I am rewarded with:
> 
> Buildfile: build.xml
> 
> detect:
>      [echo] -------- jakarta-tomcat-connectors --------
> 
> BUILD FAILED
> 
> /home/stephen/src/jakarta-tomcat-connectors-jk-1.2.2-src/jk/bu
> ild.xml:62: 
> Could not create task of type: condition. Common solutions are to use 
> taskdef to declare your task, or, if this is an optional task, to put 
> the optional.jar in the lib directory of your ant installation 
> (ANT_HOME).
> 
> Total time: 0 seconds
> 
> I have no idea what the above means or how to fix it.
> 
> -- 
> Stephen Carville <[EMAIL PROTECTED]>
> UNIX and Network Administrator
> DPSI
> 6033 W. Century Blvd, Ste 1075
> Los Angeles, CA 90045
> 310-342-3602
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>

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

Reply via email to