RE: DBI 1.54 Makefile.PL error




Thank you Tim.

Eric Cardoza


-----Original Message-----
From: Tim Bunce [mailto:Tim.Bunce@xxxxxxxxx]
Sent: Wednesday, March 28, 2007 5:07 AM
To: Jonathan Leffler
Cc: Cardoza, Eric D.; dbi-users@xxxxxxxx
Subject: Re: DBI 1.54 Makefile.PL error

On Tue, Mar 27, 2007 at 07:09:39AM -0700, Jonathan Leffler wrote:
On 3/27/07, Cardoza, Eric D. <Eric_D._Cardoza@xxxxxxxxxxx> wrote:

I get the following error in the Makefile.PL run for the DBI versions

above 1.50.

Warning: prerequisite File::Spec 1 not found. We have 0.86.

Well, this is not an error - it says "Warning". However, just like
there is a module DBI at version 1.54, there is also a module
file::Spec that needs to be at version 1.00 or greater, and your
version of it is 0.86.

So - go get it from CPAN and install it. (And I suggest you get a
newer Perl while you're at it, but that is not mandatory.)

Actually I don't think the DBI needs to require version 1 of File::Spec.
I've changed the next release to not require a minimum version of
File::Spec.

Eric, if you've not upgraded File::Spec yet then I'd appreciate it if
you'd try using the 0.86 version you already have.

Just delete the
"File::Spec" => 1
line in Makefile.PL

Thanks.

Tim.


.



Relevant Pages

  • RE: getting rid of the "Issuing rollback()" warning
    ... It's an excellent idea for the DBI to fake certain things when it makes ... But transaction control is not one of them. ... getting rid of the "Issuing rollback" warning ... many drivers and database API's can't tell if they are or not. ...
    (perl.dbi.users)
  • DBI compile fails in Solaris 10
    ... Below is the output I get when I try to do a make on the DBI module in ... This works fine on Solaris I was wondering if I need an ... Perl.c:125: warning: unused parameter `cv' ...
    (perl.dbi.users)
  • fetchrow_array warning and error in cleanup
    ... I am quite new to using DBI and am running into something odd. ... I get the following warning: ... Then at the very end of the script, even after the disconnect, I get: ... The database connection and queries seem to be working fine, ...
    (perl.dbi.users)
  • ANNOUNCE: DBI 1.43
    ... Fixed compiler warning thanks to Paul Marquess. ... Fixed "trace level set to" trace message thanks to H.Merijn Brand. ... Fixed DBD::Sponge not to generate warning with threads. ... "Advanced DBI" tutorial I'm also doing a "Perl DBI - Any Questions?" ...
    (perl.dbi.users)
  • Re: getting rid of the "Issuing rollback()" warning
    ... >> transaction and, for drivers that can, use that to skip the warning. ... I generally only add something to the DBI when the DBI can 'fake it' ...
    (perl.dbi.users)