Hi, Chris! Well, I made it! Now I have my mod_jsk2.so. Then I copy to $APACHE_HOME/modules, and put a line in the end of my httpd.conf, just the same way I sought in the Apache-Tomcat HOWTO.
>> Include $TOMCAT_HOME/conf/jk/mod_jk.conf-auto Then I'll have to start Tomcat before Apache 'cause this is a temp file. Right? ->Wrong! When I start the Tomcat 5.0.16, I dont have no mod_jk.conf-auto self-created, I start Apache, but the connectors doesn't work. Can you help me? Em Sex, 2003-12-19 �s 05:13, Christopher Schultz escreveu: > William, > > > I use the jakarta-tomcat-connectors-jk2-2.0.2-src and try this: > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs \ > > --with-apache2=/usr/local/apache2\ > > --with-apach2-include=/usr/local/apache2/include\ > > --with-apache2-lib=/usr/local/apache2/lib \ > > > > then in the end of configure process, I received a message: > > no apxs given > > building connector for "apche-2.0" > > configure: error: can't locate /usr/local/apache2 > > Hmmm... do you really need all those options? I would think that: > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs > > would be sufficient. Let's see... > > $ tar xzf jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz > $ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 > $ ./configure --with-apxs2=/usr/local/apache2/bin/apxs > > [completed successfully] > > $ make > > [completed successfully] > > $ ls ../build/jk2/apache2/*.so > ../build/jk2/apache2/jkjni.so > ../build/jk2/apache2/mod_jk2.so > $ > > Looks good to me. I also built my Apache 2.0.48 from source. The code, > etc, is in /usr/local/httpd-2.0.48, and not in /usr/local/apache. > > It's funny that the build instructions in the "jk" directory say "Just > type ant!", and it fails miserably. Too bad. I like the whole > configure/make/make install. It tends to work well. > > Let me know if you are still having problems compiling... > > -chris > > > --------------------------------------------------------------------- > 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]
