Re: Apxs problem

2001-07-30 Thread vibha . mullick . b


You got to fix apxs script, add -bexpall to the CFG_LDFLAGS_SHLIB entry in the
apxs script. I did this and apxs was fixed.






Mykola A. Nickishov [EMAIL PROTECTED] on 07/28/2001 06:01:10 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Re: Apxs problem


Aaron Cooper [EMAIL PROTECTED] 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









Re: Apxs problem

2001-07-28 Thread Jerry QU

I have the same error on linux, so I use binary from www.apache.org

Jerry

- Original Message - 
From: Mykola A. Nickishov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 28, 2001 6:51 AM
Subject: Re: Apxs problem


 Aaron Cooper [EMAIL PROTECTED] 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 have the same :(
 
 -- 
 ICQ #83060237
 MAN-UANIC NIK6-RIPE
 



Re: Apxs problem

2001-07-28 Thread Mykola A. Nickishov

Aaron Cooper [EMAIL PROTECTED] 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



Re: Apxs problem

2001-07-27 Thread Mykola A. Nickishov

Aaron Cooper [EMAIL PROTECTED] 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 have the same :(

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE