Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 25783
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Version math not up to version objects (or something)?
~/.cpan/build/Mail-Box-2.070-8N24nq% /home/src/perl/repoperls/installed-perls/*/p*/perl-5*@30750/bin/perl Makefile.PL * **** Installing MailBox * * First, I will check the sanity of all required modules... sometimes * they do not load, for instance if you have installed a new release * of Perl without upgrading the libraries. Scalar::Util version 1.190 is ok (required is 1.13) File::Remove version 0.340 is ok (required is 0.2) IO::Scalar version 2.110 is ok (required is 0) Object::Realize::Later is not yet installed File::Spec version 3.240 is ok (required is 0.7) Time::Zone version 2.220 is ok (required is 0) User::Identity is not yet installed Digest::HMAC_MD5 version 1.010 is ok (required is 0) Mail::Address is not yet installed Errno version 1.100 is ok (required is 0) Test::Harness version 2.640 is ok (required is 2.62) URI version 1.350 is ok (required is 1.23) MIME::Types version 1.180 is ok (required is 1.004) Date::Parse version 2.270 is ok (required is 0) Test::More version 0.700 is ok (required is 0.47) MIME::Base64 version 3.07_0100 is ok (required is 0) Sys::Hostname version 1.110 is ok (required is 0) * Now, let me ask you whether you want some optional modules to be * installed as well. You can always install these modules later, by * hand, without a need to re-install MailBox. * **** Optional Mail::Box::Parser::C is not installed Use: Speeds-up reading mail folders, though most time is consumed by Perl's administration of the processed data. WARN This module contains XS code, so you need a C compiler. Do you want to install Mail::Box::Parser::C? yes/no/all [y] n **** Found optional Encode version 2.18_0100 (at least 1.86 required) **** Optional Mail::Transport::Dbx is not installed Use: The wrapper to the Outlook's dbx files consists of a c-library named libdbx (website http://sourceforge.net/project/ol2mbox/), and a wrapper which is distributed separately from Mail::Box. You get read-only access to the dbx folders. Do you want to install Mail::Transport::Dbx? yes/no/all [y] n **** Found optional Mail::SpamAssassin version 3.001008 (at least 2.00 required) **** Optional Mail::IMAPClient too old: requires 2.2.8 but is 2.002009 Use: Required for IMAP4 support. Do you want to install Mail::IMAPClient? yes/no/all [y] This last question seems like somebody would not calculate 2.2.8 being 2.002008 and thus 2.002009 being above the required minimum.
A small change to Makefile.PL line 180 seems to solve this problem: elsif(eval '$module->VERSION($version)' && $@) { print "**** Optional $module too old: requires $version but is ", $module->VERSION,";$@\n"; }