You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mbb <mb...@valley.net> on 2001/07/09 22:21:57 UTC
help with building mod_jk
Hello,
I just tried to build and install mod_jk from the Tomcat 3.2 source
distribution. I'm running YellowDog Linux 1.2 (which is pretty much RedHat
6 for the PowerPC).
First, from the unpacked TOMCAT_SOURCE/src/native/apache1.3 directory I ran:
apxs -o mod_jk.so -I../jk -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -c
*.c ../jk/*.c
and I got an error at jk_jni_worker.c saying that it couldn't find jni_md.h
in the /include directory. I looked and found that file in the
/include/linux directory... So, I put a copy in the /include directory and
ran the apxs command again.
This time it went through what seemed like all the C files and then at the
very end starts listing -o mod_jk.so jk_worker.o and all the
jk_'something'.o files. It lists all of the *.o files from the
/src/native/jk directory and then stops with rc=255 and gives me back the
Bash prompt.
Any ideas?
Thanks!
Michael
Re: help with building mod_jk
Posted by mbb <mb...@valley.net>.
Hi Ben,
I actually did set the JDK explicitly, but just wrote in JAVA_HOME in the
email to save typing :-)
Any other ideas?? I'm still stumped.
Michael
on 7/10/01 4:29 AM, Ben Parker at ben@africaonline.com wrote:
> Maybe $JAVA_HOME isn't set right? Try setting the jdk directory explicitly.
>
> Ben
>
>
>> -----Original Message-----
>> From: mbb [mailto:mbeards@valley.net]
>> Sent: 09 July 2001 23:22
>> To: tomcat-user@jakarta.apache.org
>> Subject: help with building mod_jk
>>
>>
>> Hello,
>>
>> I just tried to build and install mod_jk from the Tomcat 3.2 source
>> distribution. I'm running YellowDog Linux 1.2 (which is pretty
>> much RedHat
>> 6 for the PowerPC).
>>
>> First, from the unpacked TOMCAT_SOURCE/src/native/apache1.3
>> directory I ran:
>>
>> apxs -o mod_jk.so -I../jk -I$JAVA_HOME/include
>> -I$JAVA_HOME/include/linux -c
>> *.c ../jk/*.c
>>
>> and I got an error at jk_jni_worker.c saying that it couldn't
>> find jni_md.h
>> in the /include directory. I looked and found that file in the
>> /include/linux directory... So, I put a copy in the /include directory and
>> ran the apxs command again.
>>
>> This time it went through what seemed like all the C files and then at the
>> very end starts listing -o mod_jk.so jk_worker.o and all the
>> jk_'something'.o files. It lists all of the *.o files from the
>> /src/native/jk directory and then stops with rc=255 and gives me back the
>> Bash prompt.
>>
>> Any ideas?
>>
>> Thanks!
>>
>> Michael
>>
>>
>
RE: help with building mod_jk
Posted by Ben Parker <be...@africaonline.com>.
Maybe $JAVA_HOME isn't set right? Try setting the jdk directory explicitly.
Ben
> -----Original Message-----
> From: mbb [mailto:mbeards@valley.net]
> Sent: 09 July 2001 23:22
> To: tomcat-user@jakarta.apache.org
> Subject: help with building mod_jk
>
>
> Hello,
>
> I just tried to build and install mod_jk from the Tomcat 3.2 source
> distribution. I'm running YellowDog Linux 1.2 (which is pretty
> much RedHat
> 6 for the PowerPC).
>
> First, from the unpacked TOMCAT_SOURCE/src/native/apache1.3
> directory I ran:
>
> apxs -o mod_jk.so -I../jk -I$JAVA_HOME/include
> -I$JAVA_HOME/include/linux -c
> *.c ../jk/*.c
>
> and I got an error at jk_jni_worker.c saying that it couldn't
> find jni_md.h
> in the /include directory. I looked and found that file in the
> /include/linux directory... So, I put a copy in the /include directory and
> ran the apxs command again.
>
> This time it went through what seemed like all the C files and then at the
> very end starts listing -o mod_jk.so jk_worker.o and all the
> jk_'something'.o files. It lists all of the *.o files from the
> /src/native/jk directory and then stops with rc=255 and gives me back the
> Bash prompt.
>
> Any ideas?
>
> Thanks!
>
> Michael
>
>