>>>>> On Tue, 12 Aug 2003 08:59:08 +0200, Reini Urban <[EMAIL PROTECTED]> said:
cpan> r > always returns for PodParser-1.23 the follwing line, which is wrong. > It always complains that there's a newer version available. > Pod::Checker 1.2 1.4 M/MA/MAREKR/PodParser-1.23.tar.gz > I debugged it down to these following bugs: > CPAN_VERSION should be 1.23, not 1.4 Don't think so. > $module->inst_version should return 1.23, not 1.2 It should be 1.4. > I currently cannot imagine where the 1.2 is from. Neither do I. Let's investigate. > The version should be read from Makefile.PL VERSION => '1.23', there's > no VERSION_FROM entry. No. The Version of Pod::Checker is independent from the Makefile.PL. In Perl, a module has a $VERSION. Many modules may have many $VERSIONs. You must look into the Pod/Checker.pm file. > $module->ID resp. $inst_file should be Pod::Parser, not Pod::Checker > (which is where the wrong version comes from) No, CPAN.pm checks for all modules within a distribution. If any single one has a higher version number, it tells you to upgrade. > BTW: shouldn't 'userid' be MAREKR (the current maintainer), not > BRADAPP (the original author)? That should have no influence. > Interestingly Pod::Parser is the only module which fails with the > wrong version on my installed CPAN set. > DB<31> x $module > 0 CPAN::Module=HASH(0x99cf084) > 'ID' => 'Pod::Checker' > 'RO' => HASH(0x99d0578) > 'CPAN_FILE' => 'M/MA/MAREKR/PodParser-1.23.tar.gz' > 'CPAN_USERID' => 'MAREKR' > 'CPAN_VERSION' => 1.4 > 'chapterid' => ' 2' > 'description' => 'Check pod documents for syntax errors' > 'statd' => 'R' > 'stati' => 'O' > 'statl' => 'p' > 'statp' => '?' > 'stats' => 'd' > 'userid' => 'BRADAPP' > DB<32> x $latest > 0 1.4 > DB<33> x $have > 0 1.2 > DB<34> x $inst_file > 0 '/usr/lib/perl5/Pod/Checker.pm' Maybe this last line helps us: is this the one that gets installed? Or is it something from an earlier install? > Before I investigate a possible MM or CPAN problem, I would like to > know if this is known problem. Not for me. > For a short term fix I would ask Marek to change the VERSION in > Pod::Checker to 1.23 (ugly hack) > and change the Makefile.PL VERSION line to > 'VERSION_FROM' => 'Pod::Checker' I see no need for that. > For a better fix probably CPAN or MM has to be improved. Let's first determine the real cause for your problem, then decide what needs to be fixed. -- andreas
