Hi I have a small problem

I have an Apache 1.3.17, mod_perl-1.25, perl-5.6.0, ApacheDBI-0.88 and
DBI-1.15 on a Solaris 2.8 box.

I get the following error when running perl -c myStartupFile.pl:

Can't locate object method "require_version" via package "DBI" at
/q/app3w/perl-5.6.0/lib/site_perl/5.6.0/Apache/DBI.pm line 13.
Compilation failed in require at
/q/app3w/perl-5.6.0/lib/site_perl/5.6.0/Apache/DBI.pm line 8.
BEGIN failed--compilation aborted at
/q/app3w/perl-5.6.0/lib/site_perl/5.6.0/Apache/DBI.pm line 8.
Compilation failed in require at CSstartup.pl line 15.
BEGIN failed--compilation aborted at CSstartup.pl line 15.

I found one that had a similar problem;
http://projects.is.asu.edu/pipermail/slash-help/1999-April/000044.html

but his suggested solution does net help. I have the package name in both
og my modules, e.g. Apache/DBI.pm and DBI.pm.

Anybody know what is wrong? I have had a look at the DBI.pm. Is seems to
have a hold on the Exporter so that can not be the problem:

>From DBI.pm, line 148:
use Exporter ();

BEGIN {
@ISA = qw(Exporter DynaLoader);

Any help would be greatly appreciated.

Best regards
        Mikael Hansen





Reply via email to