Thomas,
Thanks. I just whatever files to get mod_jk.so working on Apache 1.3.14 and
Solaris 8.
Do you need both the mod_jk.c and mod_jk.o any where? Or do you just need
mod_jk.so in the apache/libexc directory?
ab
Thomas Bezdicek wrote:
> i got solaris 8 with apache 1.3.20 tomcat 3.2.1 and tomcat 3.2.2 if
> you need them
>
> btw: try to use gcc instead of cc. and include -lPOSIC before the -c
> part in the apxs - call.
>
> regards, tom
>
> > -----Ursprungliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 12. Juli 2001 12:13
> > An: [EMAIL PROTECTED]
> > Betreff: Does any body have mod_jk for solaris?
> >
> >
> > hi, all,
> >
> > It is 0300 so my level of aggravation is pretty high. Fun to work at this
> > time though, it is where you figure things out, however I am not
> > figuring out
> > this mod_jk thing for solaris, and wondering why the people want
> > people to use
> > this instead of jserv but they don't include any binaries for mod_jk.
> >
> > > I am attempting a pretty simple thing I thought. I wanted to
> > change from
> > > using the default jserv to mod_jk.
> > >
> > > I first could not find any binaries on the jakarta.apache site. That is
> > > stupid Solaris has to be one of the most popular OS's on the
> > web. We can
> > > get tomcat
> > > for Solaris and apache, what is these jk guys problem?
> > >
> > > Any way, I said, ok, I will build it.
> > >
> > > I first tried to find the "build-solairs.sh" could not find it.
> > >
> > > Thus, I tried to build-unix.sh couldn't find that.
> > >
> > > So I was left with the third way to build mod_jk. That was using apxs.
> > > That I tried to do.
> > >
> > > I get the following error when I try to build mod_jk. Any one has any
> > > idea?
> > >
> > > Thanks. F&*(^ really dumb and it is late.
> > >
> > > ab
> > >
> > > # build
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > "jk_jni_worker.c", line 731: warning: assignment type mismatch:
> > > pointer to function(pointer to pointer to pointer to
> > const struct
> > > JNIInd
> > > "jk_jni_worker.c", line 732: warning: assignment type mismatch:
> > > pointer to function(pointer to void) returning int "="
> > pointer to
> > > void
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > "jk_map.c", line 468: warning: newline not last character in file
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > "jk_nwmain.c", line 31: warning: empty translation unit
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic
> > -I/usr/apache/include -I../jk
> > > -I/uc
> > > "jk_sockbuf.c", line 227: syntax error before or at: /
> > > "jk_sockbuf.c", line 233: cannot recover from previous errors
> > > cc: acomp failed for jk_sockbuf.c
> > > apxs:Break: Command failed with rc=131072
> > > #
> > >
> > > my build file is striaght from the tomcat documentation on the jakarta
> > > pages and is as follows:
> > >
> > > /usr/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
> > > -I/usr/j
> > > ava/include/solaris -c *.c ../jk/*.c
> >