Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I thought my problem solved... but it wasn't.

When I try to install other Module which needs MakeMaker, say WWW-Mechanize-Firefox, and type command "cpan WWW::Mechanize::Firefox", then modules which needs MakeMaker doesn't use newly installed MakeMaker-6.63_02 but they require 6.62 and begin to download and try to use 6.62.

They don't use most recent version of locally installed MakeMaker... Again I am stacked and these are what I've done so far.

Q. fetch module with "cpan -g" and why not install it manually?
A. this works. Modules uses MakeMaker-6.63_02. And I thought, do I always have to do this?

Q. change "prerequisites_policy" of MyConfig from "follow" to "ask". Answer No to MakeMaker.
A. This is best solution so far(for me). It becomes hard when many modules need MakeMaker(like WWW::Mechanize::Firefox). I wonder there is an option like "most_recent_in_local".

Q. how about using "distroprefs"?
A. I found many examples in CPAN.pm's source directory. I tried like this one.
--- match: distribution: ".*" depends: configure_requires: ExtUtils::MakeMaker: 6.63_02 build_requires: ExtUtils::MakeMaker: 6.63_02 requires: ExtUtils::MakeMaker: 6.63_02
it changes cpan's output. but it seems not working as I expeced.
---- Unsatisfied dependencies detected during ---- ---- CORION/WWW-Mechanize-Firefox-0.57.tar.gz ---- ExtUtils::MakeMaker [build_requires] Running make test Make had some problems, won't test Delayed until after prerequisites Running make install Make had some problems, won't install Delayed until after prerequisites Running install for module 'ExtUtils::MakeMaker' ______________________ D i s t r o P r e f s ______________________ MakeMaker.yml[0] Running make for M/MS/MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz Checksum for /home/tetsu/.cpan/sources/authors/id/M/MS/MSCHWERN/ExtUti +ls-MakeMaker-6.62.tar.gz ok ---- Unsatisfied dependencies detected during ---- ---- MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz ---- ExtUtils::MakeMaker [build_requires] Running make test Make had some problems, won't test Delayed until after prerequisites Running make install Make had some problems, won't install Delayed until after prerequisites Running make for M/MS/MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz Warning: Prerequisite 'ExtUtils::MakeMaker => 6.63_02' for 'M/MS/MSCHW +ERN/ExtUtils-MakeMaker-6.62.tar.gz' seems not available according to +the indices CPAN.pm: Going to build M/MS/MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz Checking if your kit is complete... Looks good ...
Distropref is somewhat difficult for me. I am thinking this is the place to change, but I thought it is better to ask monks for wisdom.

My question in a line:How can I tell cpan not to use MakeMaker 6.62 but locally installed 6.63_02?

In reply to Re^5: MakeMaker stops while make test by remiah
in thread MakeMaker stops while make test by remiah

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (6)
    As of 2014-08-02 04:48 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Who would be the most fun to work for?















      Results (54 votes), past polls