You do not actually use Apache::DBI in your script. Please Read the
documentation.

> -----Original Message-----
> From: Mikael Hansen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 4:38 PM
> To: Perl DBI users
> Subject: Problem with require_version via package DBI 
> 
> 
> 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
> 
> 
> 
> 
> 

__________________________________________________________________________
Please Note :
Only  the intended recipient is authorised to access or use this e-mail.  If
you are not the intended recipient,
please delete this e-mail and notify the sender immediately.   The contents
of this e-mail are the writer's 
opinion and are not necessarily endorsed by the Gunz Companies unless
expressly stated.

We use virus scanning software but exclude all liability for viruses or
similar in any attachment.


Reply via email to