perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Apache::DBI in generating error
Date Thu, 02 Aug 2001 14:20:08 GMT
On Thu, 2 Aug 2001 wrote:

> Thanks to all (esp Stas) for helping me with the 'make test' error
> involving  Here is the next issue:

> use Apache::DBI ();

> When I run "perl -c", I get the following error.  I get NO
> error when I comment out the 'use Apache::DBI' line:
> Can't locate object method "module" via package "Apache" at
> /usr/lib/perl5/site_perl/5.005/Apache/
> line 202.
> BEGIN failed--compilation aborted at line 8.
> Is there an earlier version of Apache::DBI I should be using (like the
> error)?

It's not a problem. Apache::DBI expects mod_perl env, and hence you cannot
test it from the command line. I suppose that you don't have a problem to
start the server with Apache::DBI loaded.

It's documented somewhere is the guide too.

Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker       mod_perl Guide

View raw message