SA Bugzilla – Bug 864
2.4.1 breaks CPAN
Last modified: 2002-09-16 03:10:11 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>
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) {
fixed in CVS.