Bug 864 - 2.4.1 breaks CPAN
Summary: 2.4.1 breaks CPAN
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: 2.41
Hardware: Other Linux
: P2 normal
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-09 20:18 UTC by AMK4
Modified: 2002-09-16 03:10 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description AMK4 2002-09-09 20:18:22 UTC
After installing SA 2.41 from source, CPAN generates an error whenever one tries 
to run the 'r' (reinstall recommendation) command:

# perl -MCPAN -e shell;
cpan shell -- CPAN exploration and modules installation (v1.63)
cpan> r
CPAN: Storable loaded ok
Going to read /var/.cpan/Metadata
  Database was generated on Sun, 08 Sep 2002 22:22:13 GMT

Package namespace         installed    latest  in CPAN file
Could not eval '
            package ExtUtils::MakeMaker::_version;
            no strict;

            local $Mail::SpamAssassin::VERSION;
            $Mail::SpamAssassin::VERSION=undef; do {
                      if ($Mail::SpamAssassin::VERSION != $req_version) {
            }; $Mail::SpamAssassin::VERSION
        ' in /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Conf.pm: Missing 
right curly or square bracket at (eval 211) line 10, at end of line
syntax error at (eval 211) line 10, at EOF
3 installed modules have a version number of 0
144 installed modules have no parseable version number

cpan>
Comment 1 Andrew Hood 2002-09-13 05:03:29 UTC
To fix add

      my $VERSION = 'bogus';     # avoid CPAN.pm picking up following line

to Mail::SpamAssassin::Conf

before the line

      if ($Mail::SpamAssassin::VERSION != $req_version) {
Comment 2 Justin Mason 2002-09-16 11:10:11 UTC
fixed in CVS.