Pilho Kim wrote:

> Hi,
>
> Retry with Apache 1.3.14 or 1.3.17
>
> On Fri, 23 Mar 2001, Jim Yiu wrote:
>
> >
> > Hi,
> >   I am trying to compile the Tomcat-Apache plugin for Solaris and am 
>unsuccessful,, I
> > am trying
> > to follow the mod_jk faq but it does not explain what to do when there are compile
> > errors.
>

[snip]

> > apxs:Break: Command failed with rc=16711680
> >
> >
> > I am running the apxs script from within the apache directory [path to
> > apache]/apache/bin  and I have Perl 5.004_04 installed, i am using
> > SunOS 5.7 with a SPARC station 20 ..
> >
> > Could someone point out the problem ?  Any help is appreciated.

The real problem here is that the apache supplied apxs is not correct.  You need to 
edit it and fix
the
$CFG_CFLAGS_SHLIB, $CFG_LD_SHLIB & $CFG_LDFLAGS_SHLIB variables as follows:

vlad: gdiff -Nu0 /var/tmp/bpm/apxs.~1~ /opt/apache/bin/apxs
--- /var/tmp/bpm/apxs.~1~       Fri Mar 16 09:29:33 2001
+++ /opt/apache/bin/apxs        Fri Mar 16 15:44:42 2001
@@ -77,3 +77,3 @@
-my $CFG_CFLAGS_SHLIB  = q();      # substituted via Makefile.tmpl
-my $CFG_LD_SHLIB      = q();          # substituted via Makefile.tmpl
-my $CFG_LDFLAGS_SHLIB = q(); # substituted via Makefile.tmpl
+my $CFG_CFLAGS_SHLIB  = q(-fPIC -DSHARED_MODULE);      # substituted via Makefile.tmpl
+my $CFG_LD_SHLIB      = q(ld);          # substituted via Makefile.tmpl
+my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl

--
Brian Millett
Enterprise Consulting Group   "Shifts in paradigms
(314) 205-9030               often cause nose bleeds."
[EMAIL PROTECTED]                           Greg Glenn


Reply via email to