Gonzalez, Federico wrote:

>I get the following error when trying to build webapp_module
>apxs:Error: no config variable LDFLAGS_SHLIB
>

This should be a FAQ item.

You have a miss configured apxs application.  Check to see if apxs is 
configured correctly.  Here is an example for apache 1.3.X with gcc (See 
the value for $CFG_LDFLAGS_SHLIB)

my $CFG_TARGET        = q(httpd);            # substituted via 
Makefile.tmpl
my $CFG_CC            = q(gcc);                # substituted via 
Makefile.tmpl
my $CFG_CFLAGS        = q( -DEAPI -DSOLARIS2=280 -DUSE_EXPAT 
-I../lib/expat-lite -DNO_DL_NEEDED -O6 -mcpu=v8 -Wa,-xarch=v8plusa 
`../apaci`);            # substituted via Makefile.tmpl
my $CFG_CFLAGS_SHLIB  = q(-fPIC -DSHARED_MODULE);      # substituted via 
Makefile.tmpl
my $CFG_LD_SHLIB      = q(gcc);          # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl
my $CFG_LIBS_SHLIB    = q(-fPIC);        # substituted via Makefile.tmpl
my $CFG_PREFIX        = q(/opt/apache);            # substituted via 
APACI install
my $CFG_SBINDIR       = q(/opt/apache/bin);           # substituted via 
APACI install
my $CFG_INCLUDEDIR    = q(/opt/apache/include);        # substituted via 
APACI install
my $CFG_LIBEXECDIR    = q(/opt/apache/libexec);        # substituted via 
APACI install
my $CFG_SYSCONFDIR    = q(/opt/apache/conf);        # substituted via 
APACI install

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




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to