Some suggestions: 1 - you should upgrade Apache, not because of JK, but because of the security fixes between .40 and .44
2 - AFAIK, the 2.0.2 connector code will not compile with 2.0.40 but I could be wrong...I do know that the connectors require .43, which implies to me that .40, .41, and .42 will not work. .44 is module compatible with .43. 3 - the easiest way (in my opinion) to build the connectors from source is: ./configure --with-apxs=/your/path/to/apache/bin/apxs make make install 4 - in one of my older HOWTOs, I describe what I had to do to get ant to work: http://www.johnturner.com/howto/apache2-tomcat4110-jk2-howto.html John > -----Original Message----- > From: Hans Deragon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 3:16 PM > To: [EMAIL PROTECTED] > Subject: jakarta-tomcat-connectors-jk2-2.0.2-src cannot compile > > > Greetings. > > > I would like to build a connector for RH 8.0 between Apache > -2.0.40-11 > and Tomcat 4.1.18. I downloaded the following: > > jakarta-tomcat-connectors-jk2-2.0.2-src.gz.tar > > Now, I do not want to install a fresh Apache. I want to > continue to use > the one provided by Red Hat (saves the hassle of configuring and > installing the software). In build.properties of the connector, what > path should I provide for apr.home property? RedHat' s rpm installs > Apache software and files in many places. Should I point it to the > binary? Or is Apache source code required to compile the connector? > > Anyhow, without setting this property, I fired ant to see what would > happen, but it complained about the following: > > ------------------------------------------------------------ > Buildfile: build.xml > > detect: > [echo] -------- jakarta-tomcat-connectors -------- > > prepare: > > BUILD FAILED > file:/perm/web/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/buil d.xml:105: Warning: Could not find file /perm/web/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/lib/tomcat-co yote.jar to copy. ------------------------------------------------------------ build.properties does not mention anything about coyote. Is there an email with which I can get into contact with the developer? As a newbie, I think that the README.txt file needs to be more extensive. BTW, I fould the following: jakarta-tomcat-4.1.18/server/lib/tomcat-coyote.jar. I have then made a symbolic link to trick ant at finding tomcat-coyote.jar where it expect it to be, and went farther: ------------------------------------------------------------ jkjava: BUILD FAILED file:/perm/web/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:164: srcdir "/perm/web/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/java" does not exist! ------------------------------------------------------------ Not my lucky day. :) I did not look things up further. I assume that I am doing something wrong from the start. Any help is welcomed. Sincerely, Hans Deragon --------------------------------------------------------------------- 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]
