Stas,

this is fixed in current modperl CVS,

"Apache::src::apxs fixups to quiet warnings if apxs doesnt exist or
httpd is not dso enabled, thanks to Oleg Bartunov and Ville Skyttä for 
spotting"


        Regards,

                Oleg
On Thu, 30 Mar 2000, Stas Bekman wrote:

> Date: Thu, 30 Mar 2000 14:19:12 +0200 (IST)
> From: Stas Bekman <[EMAIL PROTECTED]>
> To: mod_perl list <[EMAIL PROTECTED]>
> Subject: [install warnings] apxs
> 
> Hi,
> 
> While doing a simple:
> perl Makefile.PL DO_HTTPD=1 APACHE_SRC=../apache_1.3.12/src
> 
> for each Makefile.PL in all subdirs I get:
> 
> which: no apxs in (.:/usr/bin:/bin [snipped])
> apxs:Error: Sorry, no DSO support for Apache available
> apxs:Error: under your platform. Make sure the Apache
> apxs:Error: module mod_so is compiled into your server
> apxs:Error: binary `/usr/local/apache/bin/httpd'.
> 
> which is triggered by $src->inc in:
> 
> WriteMakefile(
>     NAME      => "Apache",
>     VERSION_FROM => "Apache.pm",
>     'INC'     => $src->inc,
>     'TYPEMAPS'  => $src->typemaps,
> );
> 
> in each Makefile.PL in subdirs
> 
> Which [$src->inc] in turn calls Apache::src::apxs
> 
> Well, these are just two warnings.
> 
> 1. 
> which: no apxs in (.:/usr/bin:/bin)
> 
> says that I don't have apxs in the path.
> 
> 2.
> apxs:Error: Sorry, no DSO support for Apache available
> apxs:Error: under your platform. Make sure the Apache
> apxs:Error: module mod_so is compiled into your server
> apxs:Error: binary `/usr/local/apache/bin/httpd'.
> 
> I happen to have /usr/local/apache/bin/apxs, which triggers the latter.
> 
> Anyway why should the Apache::src::apxs method to be called when I don't
> need APXS?
> 
> [os: linux RH6.1 perl 5.003 mod_perl-1.22 apache-1.3.12]
> 
> ______________________________________________________________________
> Stas Bekman             | JAm_pH    --    Just Another mod_perl Hacker
> http://stason.org/      | mod_perl Guide http://perl.apache.org/guide/ 
> mailto:[EMAIL PROTECTED]  | http://perl.org    http://stason.org/TULARC/
> http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
> ----------------------------------------------------------------------
> 

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Reply via email to