On Thu, 2 Aug 2001 [EMAIL PROTECTED] wrote:
> Thanks to all (esp Stas) for helping me with the 'make test' error
> involving CGI.pm. Here is the next issue:
> use Apache::DBI ();
> When I run "perl -c startup.pl", 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/DBI.pm
> line 202.
> BEGIN failed--compilation aborted at startup.pl line 8.
>
> Is there an earlier version of Apache::DBI I should be using (like the
> CGI.pm 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
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/