You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by J Austin <au...@cals.debbs.ndhq.dnd.ca> on 2001/02/12 22:35:35 UTC

apxs problems

I have been unable to build either "mod_jserv" or "mod_jk" on
Solaris 2.5 (yes it's old) to work with apache1.3.17 (I upgraded
from 1.3.12 today). and Tomcat 3.2.1. It appears that the Perl
source code apxs is not correctly generated.

I have examined the list archives many times with no success.

I find the limit of 20 hits to be counter-productive as I have to do a
LOT more
searches to try and weed out results.

Has anyone been able to get around the problems with apxs ? I have only
found
one posting in which the victim states that he solved the problem (but
didn't bother
to record it).

In my case apxs does all of the compiles but then emits: the following
lines:


/usr/local/bin/gcc -DSOLARIS2=251 -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED
  -I/usr/local/servers/apache/include  -c mod_jserv.c
  -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
jserv_wra
pper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o
jserv_mma
p.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o
autochange.o
apxs:Break: Command failed with rc=16777215


It looks to me as if there is a loader (ld) command messed up. Here is
the relevant part of my apxs file:

my $CFG_TARGET        = q(httpd);            # substituted via
Makefile.tmpl
my $CFG_CC            = q(/usr/local/bin/gcc);                #
substituted via
Makefile.tmpl
my $CFG_CFLAGS        = q( -DSOLARIS2=251 -DUSE_EXPAT
-I../lib/expat-lite -DNO_D
L_NEEDED `../apaci`);            # substituted via Makefile.tmpl
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_LIBS_SHLIB    = q();        # substituted via Makefile.tmpl
my $CFG_PREFIX        = q(/usr/local/servers/apache);            #
substituted v
ia APACI install
my $CFG_SBINDIR       = q(/usr/local/servers/apache/bin);           #
substitute
d via APACI install
d via APACI install
my $CFG_INCLUDEDIR    = q(/usr/local/servers/apache/include);        #
substitut
@

I am running Perl 5.6.something