http://www.perlmonks.org?node_id=918370

jgamble has asked for the wisdom of the Perl Monks concerning the following question:

I got around to updating ExtUtils-MakeMaker v6.58 via Activestate's PPM. Unfortunately, PPM claims there is a problem:

Synchronizing Database ... done
ExtUtils-MakeMaker marked for install
Installing package ...
Downloading ExtUtils-MakeMaker-6.58 ... done
Unpacking ExtUtils-MakeMaker-6.58 ... done
Generating HTML for ExtUtils-MakeMaker-6.58 ... done
Updating files in site area ... failed
Installing package failed

ERROR: File conflict for 'C:/Perl64/html/site/lib/CPAN/Meta/Converter.html'.
The package CPAN-Meta has already installed a file that package ExtUtils-MakeMaker
wants to install.

I'm a little confused. Looking at ExtUtils-MakeMaker on CPAN, I don't see any CPAN-Meta-Converter module, so why does PPM think one is being installed?

I presume this will require fixing by hand? What's recommended? Should I uninstall this version of ActivePerl and install another version?

This is using PPM version 3.11; ActivePerl version 5.12.2.1203.

  • Comment on CPAN-Meta and ExtUtils-MakeMaker Conflict?

Replies are listed 'Best First'.
Re: CPAN-Meta and ExtUtils-MakeMaker Conflict?
by FunkyMonk (Chancellor) on Aug 03, 2011 at 19:52 UTC
    The CPAN::Meta::Converter package is part of the CPAN-Meta distribution and version 2.112150 was uploaded earlier today. Perhaps that will fix your problem (although I don't see anything relevant in Changes, but I don't know how old your CPAN::Meta is).

    Update

    A new version of ExtUtils-MakeMaker has just been uploaded to CPAN. Its Changes includes...

    Removed the %INC check from _has_cpan_meta and updated the CPAN::Meta bundled with EUMM to one that doesn't set $VERSION in a begin block so it can't appear to be loaded, thus causing us to mistakenly try and call methods on CPAN::Meta modules - this is due to older versions in site_perl shadowing our installation of other bundled modules. [rt.cpan.org 69465] [rt.cpan.org 69900] [MSTROUT]
    You may find more help/information/fixes by following those RT bugs mentioned above.

      Unfortunately, I don't know that this would fix my problem, and in any event this latest version of the module would have to get to the ActiveState repositories before it could help, if it could help (the current version of CPAN-Meta on PPM is 2.110930, and that wasn't the latest version before today anyway).

      Thanks for the update. I'm going to wait a bit to see if ActiveState updates it's repositories with this, then either use PPM if they did or install by hand if they didn't.

      Thanks again.

Re: CPAN-Meta and ExtUtils-MakeMaker Conflict?
by Khen1950fx (Canon) on Aug 03, 2011 at 23:37 UTC
    CPAN::Meta is a dual-lived core module. If you want to update your dual-lived modules, use Bundle::dualLived. It'll help to prevent situations like this.
Re: CPAN-Meta and ExtUtils-MakeMaker Conflict?
by syphilis (Archbishop) on Aug 04, 2011 at 10:28 UTC
Re: CPAN-Meta and ExtUtils-MakeMaker Conflict?
by Anonymous Monk on Aug 04, 2011 at 11:14 UTC
    This is an ActiveState bug , they patch ExtUtils::MakeMaker, so you need to report the bug to ActiveState