On Mon, 17 Jan 2000, gnielson wrote:

> I am trying to figure out why I can not start up httpd now that I have
> compiled Apache 1.3.6 Unix with mod_perl 1.21 with perl 5.004_01
> under Redhat Linux 5.0, and can not run my startup script, even though I have 
> added directories to my path in my startupscript. 
> 
> Whenever I try to run my startup.pl script, I get the error:
> 
> Can't locate object method "module" via package "Apache" at
> /usr/lib/perl5/site_perl/Apache/DBI.pm line  202.
> BEGIN failed--compilation aborted at startup.pl line 23.
> 
> FYI, line 202 is:  if ($INC{'Apache.pm'} and
> Apache->module('Apache::Status'));

Edmund, maybe for 'perl -c' sake, that should be changed to:

if ($ENV{MODPERL} and Apache->module('Apache::Status'))

Reply via email to