I have just finished compiling mod_jk.so for solaris 8 using gcc 2.9.5 so I
know it works :)
The problem that I was having involved getting a rc=255 error at the end of
the apxs procedure. This was fixed by adding /usr/ccs/bin to the path(this
is where ld lives). The following is the script that I used to compile,
please note that everything below the export commands is one line.
cd $TOMCAT/src/native/apache1.3
--start script
#!/usr/bin/bash
export APACHE_HOME=/usr/local/apache
export PATH=$PATH:/usr/ccs/bin
/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk
-I/usr/java/include -I/usr/java/include/solaris -lposix4 -c *.c ../jk/*.c
---end script---
-James
-----Original Message-----
From: Paul Lombardo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: RE: mod_jk for solaris
Yep! and if I find it I'll send it to you. I am recompileng Apache
woth the mod_so configured in so I hope the apxs stuff will work.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk for solaris
Hi Paul,
It appears we are fighting the same battle at the same time. I have
ripped
through this for an entire night. Not only isn't there a build script
for
solaris in the default tar, the apxs compile directions are wrong!
I have simply asked some one for a recompiled version. It is easier.
BTW,
then you have to work with the mod_jk.conf file and start configuring
what
gets passed.
If I get the file, I will send it to you.
ab
Paul Lombardo wrote:
> Good morning all -
>
> I am attempting to setup and configure Tomcat 3.2.2. to use with
Apache
> 1.3.x on a Solaris 2.6 machine.
>
> I have Apache in and running. I have Tomcat installed and handling
> requests on port 8080.
>
> I now need to set things up so that Apache will hand off requests for
> jsp to tomcat and I am assuming that for that I need to setup mod_jk
(or
> is that mod_jk.so)
>
> Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3 dorectory I
> have:
>
> Makefile.freebsd Makefile.linux Makefile.nw mod_jk.c
> mod_jk.dsp
>
> I don't see one for Solaris. I went tp the web and downloaded a
> mod_jk.so and tried that, but upon inspection the source file was full
> of garbage and was useless.
>
> I am so close I can taste it. any suggestions?
>
> Paul
>
> "This document may contain confidential information, as well as
> proprietary information, of ICICI Infotech, Inc. Your company and its
> employees agree to keep the material in this document confidential and
> any violation of this paragraph is strictly prohibited."
> <<Paul V. Lombardo (Business Fax).vcf>>