well configured limits on this list do not allow me to send my full output
of my problem.
(this is my third message in 5 minutes).

I have attached my abridged version.

-k

-----Original Message-----
From: Kevin M. Shortt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 1:31 PM
To: Tomcat-User
Subject: RE: mod_jk and mod_jserv compiling problems


> From: Scott Tatum [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 6:43 PM
>
> I did some looking in the tomcat-user archives, and found several posts
> along these lines. I think what you need to do next is check your
> version of perl. I am guessing you have 5.005 or somewhere thereabouts.
Check it by
> doing perl -v. Make sure you have 5.x. Once you've done that, go and edit
the apxs file
> (it's a perl script). You should see some lines like this after the
initial comments
> are done:
>
> my $CFG_LD_SHLIB      = q(gcc);          # substituted via Makefile.tmpl
> my $CFG_LDFLAGS_SHLIB = q(-shared); # substituted via Makefile.tmpl
> my $CFG_LIBS_SHLIB    = q();        # substituted via Makefile.tmpl
>
> They should look like this (I pasted this from my apxs which is on RH62,
> Apache 1.3.19). In particular I'm guessing the CFG_LD_SHLIB may be
incorrect. Try
> changing those lines to this if they are different and compile again.
>

I tried this. It didn't work.
Here are my details:
        Solaris 7,
        perl 5.005_03
        apache 1.3.19
                (./configure --prefix=/usr/local/apache     \
                         --enable-module=ssl            \
                         --enable-module=so             \
                         --enable-rule=SHARED_CORE )
        mod_ssl 2.8.2-1.3.19 (openssl 0.9.6a, mm-1.1.3)
        jaxp-1.0.1
        java 1.3
        jsse 1.0.2
        tomcat 3.2.1 (Ant 1.3, ServletAPI 3.2)
        mod_jk

my apxs call:
        /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS        \
                                 -I../jk                       \
                                 -I/usr/java/include           \
                                 -I/usr/java/include/solaris   \
                                 -c *.c ../jk/*.c


This is what my apxs call dies with when called:
gcc -DSOLARIS2=270 -DMOD_SSL=208102 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -
DNO_DL_NEEDED
-I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/
solaris -DSOLARIS  -c ../jk/jk_worker.c
  -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o
jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o
apxs:Break: Command failed with rc=255

Now taking Scott Tatum's advice, I get different results. I did two
attempts: 1. with the gcc && -shared
2. with only the gcc. I've attached a transcript of what I did. (I attempted
to email it in this message, but
the qmail server denied my message size.)

-k

typescript

Reply via email to