Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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'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 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

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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?

    What's my password?
    Create A New User
    [marto]: good morning all
    [Corion]: Hi marto!
    [Corion]: The fun show at $work continues, as The Big Project is now in its second week of frantic live-bugfixing and weekend releases where nobody knows what went live. Nothing has been tested anyway.
    erix mutters cantankerously under his breath
    Corion watches from the sidelines. Or rather, from behind, as my system only gets output from that process and my programs adhere strictly to the GIGO design principle.
    [erix]: ah, that's nice to hear Corion :)

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (9)
    As of 2017-03-28 08:51 GMT
    Find Nodes?
      Voting Booth?
      Should Pluto Get Its Planethood Back?

      Results (328 votes). Check out past polls.