According to CPAN, the current version is indeed 1.630. I smell a bug
in DBI...
Appending installation info to
/Library/Perl/Updates/5.12.4/darwin-thread-multi-2level/perllocal.pod
TIMB/DBI-1.630.tar.gz
/usr/bin/make install -- OK
rmbp:~ admin$ perl -MDBI -e 'print "$DBI::VERSION\n"'
1.63
Indeed.
Looks like there's a "$VERSION = eval $VERSION;" near the top of the
installed DBI.pm file... without any additional packaging that would
cause Perl to decide to treat it as a float and remove the trailing
zeros. commenting out that line seems to fix it enough for
checksetup.pl to pass. I couldn't tell you if it's safe to leave that
commented out or not though. I've no clue what the purpose of it is.
Dave Miller wrote:
> The dots in a version number are not decimal points, they are just
> position separators. 63 is less than 614, therefore you have an older
> version installed than what it's looking for. It's possible the
> author of this module forgot that and the one you have installed is
> really supposed to be 1.630. Might require some trickery to make it
> work :(
>
> Kenny Millar <
kenny...@mac.com> wrote:
>> Thanks for your help so far. I tried using cpan to install DBI and
>> now I get the following....
>>
>> When I run ./
checksetup.pl it gives a strange entry for DBI:
>> Checking perl modules... Checking for CGI.pm (v3.51)
>> ok: found v3.63 Checking for Digest-SHA (any) ok:
>> found v5.71 Checking for TimeDate (v2.23) ok: found
>> v2.24 Checking for DateTime (v0.28) ok: found v0.77
>> Checking for DateTime-TimeZone (v0.71) ok: found v1.51
>> Checking for DBI (v1.614) found v1.63 Checking
>> for Template-Toolkit (v2.22) ok: found v2.25 <snip>
>>
>> So it finds DBI V1.63, but it does not say OK, and then later in
>> the output it says:
>>
>> COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these
>> commands and then re-run
checksetup.pl):
>>
>> /usr/bin/perl
install-module.pl DBI
>>
>> And so I run the required command to install the required module
>> and it just says everything is OK, probably because it finds
>> v1.63: sh-3.2# ./
install-module.pl DBI Checking for
>> CPAN (v1.81) ok: found v2.00 Checking for YAML
>> (any) ok: found v0.84 Checking for ExtUtils-MakeMaker
>> (v6.31) ok: found v6.6302 Reading '/var/root/.cpan/Metadata'
>> Database was generated on Thu, 07 Nov 2013 19:41:02 GMT Installing
>> DBI version 1.630... DBI is up to date (1.630).
>>
>> Mit freundlichen Grüßen,
>>
>> Thorsten Schöning
>>
>> -- Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
>> AM-SoFT IT-Systeme
http://www.AM-SoFT.de/
>>
>> Telefon...........05151- 9468- 55 Fax...............05151- 9468-
>> 88 Mobil..............0178-8 9468- 04
>>
>> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG
>> Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>>
Dave Miller
http://www.justdave.net/
IT Infrastructure Engineer, Mozilla
http://www.mozilla.org/
Project Leader, Bugzilla Bug Tracking System
http://www.bugzilla.org/