Tomcat apache2.0 mod_jk

Discussion in 'Installation/Configuration' started by ColdDoT, Mar 19, 2006.

  1. ColdDoT

    ColdDoT Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I didn't write it; ctroyp did. :)

    Try to run
    Code:
    libtool --finish /var/server/webserver/apache2/modules
    after
    Code:
    make
    and before
    Code:
    make install
     
  3. ColdDoT

    ColdDoT Member

    No when i do exactly what you say. it won't work :(
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Then try
    Code:
    libtool --finish /var/server/webserver/apache2/modules
    before
    Code:
    make
     
  5. ColdDoT

    ColdDoT Member

    i just start it over again comiling the source from apache and now it works
    thx
     

Share This Page