Home: Perl Programming Help: DBI:
DBI object version 1.607 does not match $DBI::VERSION 1.604



patel
New User

Mar 26, 2009, 5:08 PM


Views: 6350
DBI object version 1.607 does not match $DBI::VERSION 1.604

 
Hi guys. I'm trying to install the DBI perl module on XAMPP for windoes, but I keep getting this error:

"DBI object version 1.607 does not match $DBI::VERSION 1.604"

I've run the setup_xampp script twice enabling modules, but I'm still having this problem.

A solution was posted here:

http://blog.cachemiss.com/articles/Dealing%20With%20Duplicate%20CPAN%20Modules.pod


But unfortunately this is for Linux, and I don't know how I would carry out these steps on windoes.

Here's another guy with the same problem:

http://www.apachefriends.org/f/viewtopic.php?f=16&t=33856


Any help will be greatly appreciated. Thanks guys!


(This post was edited by patel on Mar 26, 2009, 5:14 PM)


patel
New User

Mar 27, 2009, 4:04 PM


Views: 6332
Re: [patel] DBI object version 1.607 does not match $DBI::VERSION 1.604

anyone?


1arryb
User

Mar 31, 2009, 8:03 AM


Views: 6274
Re: [patel] DBI object version 1.607 does not match $DBI::VERSION 1.604

Hi patel,

I have not used XAMPP, so I can only offer some general advice.

1. Looking at the XAMPP download area at sourceforge.net, I see that you need 2 packages, the LAMPP core and a 'Windows add-ons' package. Did you install both?

2. You may have Perl installed elsewhere in your system. Do you run Cygwin or ActivePerl, perchance? Try:

Code
perl -e 'print "@INC\n";'

If the Perl include path points to directories outside of the XAMPP perl installation path, this would be a problem.

UPDATE:
3. Maybe your PATH is wrong: Try giving the full path to perl (e.g. '<somedrive>:/<xampp_perl_path>/perl.exe ...').


Good luck,

Larry


(This post was edited by 1arryb on Mar 31, 2009, 8:14 AM)