tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mykola A. Nickishov" ...@mn.com.ua>
Subject Re: Apxs problem
Date Sat, 28 Jul 2001 22:01:10 GMT
"Aaron Cooper" <ARCOOPER@vac-acc.gc.ca> writes:

> I re-installed the apache web server , building it from source.  Now I am trying to configure
tomcat with apache using the mod_jk web adapter.  However, when I run apxs, it produces the
following message:
> 
> gcc -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_CORE -
> DSHARED_MODULE -I/usr/local/apache/include -I../common -I/opt/java1.2/include -I
> /opt/java1.2/include/hp-ux -DHPUX11GCC  -c ../common/jk_ajp12_worker.c
> apxs:Break: Command failed with rc=255
> Error with apxs

I found answer in posting by Scott Tatum from April, 25:
You should edit the $APACHE_HOME/bin/apxs file (it's a perl
script). You should see some lines like this after initial comments
are done: 

--- before ---
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 

--- after ---
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 

In my case this solve the problem :)

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE

Mime
View raw message