PDA

View Full Version : Tomcat apache2.0 mod_jk


ColdDoT
19th March 2006, 20:02
Hello

i've followed the tut from falko for the apache tomcat mod_jk. first i had a apache 2.2 back then it worked great but now i have it down graded to apache 2.0 (because a lot of extension won't work with apache2.2)

but now i can't make the mod_jk
what i do.
$ ./buildconf.sh
$ ./configure --with-apxs=/var/server/webserver/apache2/bin/apxs --with-java-home=${JAVA_HOME} --with-java-platform=2 -enable-jni
($JAVA_HOME is set correct)
i noticed that
APRINCLUDEDIR is -I/var/server/webserver/httpd-2.0.55/srclib/apr/include -I/var/server/webserver/httpd-2.0.55/srclib/apr-util/include
(isn't correct because i have installed apache 2.0 already and /var/server/webserver/httpd-2.0.55 <= it don't exist)

$make (i got 2 warn's thay are the same but diffrent lines)
libtool: install: warning: remember to run `libtool --finish /var/server/webserver/apache2/modules

$make install (then it get realy wrong)
Warning! dlname not found in /var/server/webserver/apache2/modules/mod_jk.la.
Assuming installing a .so rather than a libtool archive.
and it can't fint the mod_jk.so
greets kevin

falko
20th March 2006, 12:26
i've followed the tut from falko for the apache tomcat mod_jk.
I didn't write it; ctroyp did. :)

Try to run
libtool --finish /var/server/webserver/apache2/modules
after make and before make install

ColdDoT
20th March 2006, 15:39
No when i do exactly what you say. it won't work :(

falko
20th March 2006, 23:27
Then try libtool --finish /var/server/webserver/apache2/modules before make

ColdDoT
21st March 2006, 06:46
i just start it over again comiling the source from apache and now it works
thx