Hi,

I managed to get mod_jk compiled on:

SuSe Linux 7.1 with Apache2.0.35:

The only problem was that when calling a servlet I got "jakarta-servlet" not
found.  Otherwise, Apache accepted it without an error message.

bye Michael Delamere



----- Original Message -----
From: "Pascal Forget" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 5:23 PM
Subject: Re: Compiling mod_jk for Apache 2.0.35


> Hi Wayne,
>
> Welcome to the club.  I have been spending countless hours trying to
> resolve the
> same problem you describe.  I'm trying to buid mod_jk on Linux.  I'll
> let you know
> if I find the answer, and I hope you'll do the same if you solve the
> problem before me.
>
> Best Regards,
>
> Pascal
>
>
> Wayne Pascoe wrote:
>
> >Hi all,
> >
> >I'm trying to compile mod_jk for Apache 2.0.35 with no success. I am
> >building this on a FreeBSD 4.5 box. Mod_jk builds fine for Apache 1.3.20
> >
> >I have unpacked the tomcat connectors source, and then cd'd to
> >/usr/local/src/jakarta-tomcat-connectors-4.0.2-01-src/jk/native
> >
> >>From there, cd to apache-1.3, edit the build-unix.sh file to change
> >JAVA_HOME, APACHE_HOME and uncomment the line instructed to if find
fails,
> >and change linux on that line to freebsd. This allows me to build and
> >install a mod_jk module into my apache libexec dir by running sh
> >build-unix.sh
> >
> >Following the same process in apache-2.0, and things start out fine. I
then
> >get the following :
> >.
> >.
> >.
>
>/usr/local/src/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/
j
> >k_ajp_common.c(.text+0x1eaa): undefined reference to `pthread_mutex_init'
> >jk_ajp_common.lo: In function `ajp_destroy':
>
>/usr/local/src/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/
j
> >k_ajp_common.c(.text+0x1fb7): undefined reference to `pthread_mutex_lock'
> >jk_ajp_common.lo: In function `ajp_done':
>
>/usr/local/src/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/
j
> >k_ajp_common.c(.text+0x2097): undefined reference to
`pthread_mutex_unlock'
>
>/usr/local/src/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/
j
> >k_ajp_common.c(.text+0x20d6): undefined reference to
`pthread_mutex_destroy'
> >jk_ajp_common.lo: In function `ajp_get_endpoint':
>
>/usr/local/src/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/
j
> >k_ajp_common.c(.text+0x21aa): undefined reference to
`pthread_mutex_unlock'
>
>/usr/local/src/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/apache-2.0/
j
> >k_ajp_common.c(.text+0x21fe): undefined reference to
`pthread_mutex_destroy'
> >apxs:Error: Command failed with rc=65536
> >.
> >Installing mod_jk.so into /usr/local/httpd-2.0.35_lite/libexec
> >cp: mod_jk.so: No such file or directory
> >Done. Install by running ./install-unix.sh
> >
> >There are quite a few screens of this error.
> >
> >Does anyone have any advice for fixing this? I'd really like to use
apache 2
> >on this server.
> >
> >Thanks in advance,
> >
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to