You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ab...@gol.com on 2001/07/12 12:13:06 UTC

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