Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: MakeMaker stops while make test

by remiah (Hermit)
on Nov 18, 2011 at 12:29 UTC ( #938804=note: print w/ replies, xml ) Need Help??


in reply to Re^4: MakeMaker stops while make test
in thread MakeMaker stops while make test

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?


Comment on Re^5: MakeMaker stops while make test
Select or Download Code
Re^6: MakeMaker stops while make test
by Anonymous Monk on Nov 18, 2011 at 13:57 UTC

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

    What does that mean, locally installed 6.63_02?

    Where did you install it?

    Smells fishy

      I installed it into /usr/local/lib/perl5/5.12.2/ExtUtils/MakeMaker.pm. It has line a line "our $VERSION = '6.63_02';" ,so I think this is what I installed.

      What does that mean, locally installed 6.63_02?

      I mean "make installed" MakeMaker on my machine as local(which is 6.63_02). But "cpan MODULE" tries to fetch 6.62 MakeMaker from internet(not local). I am sorry for my bad english.

      I put two output of MRO::Compat installation output.
      While copy & paste, I noticed cpan installation says "Make had some problems"... what does this mean???

      I really appreciate your advice.

        and what is perl -V?

        I would try switching to cpanp, like  cpanp i MRO::Compat

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938804]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-09-02 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (28 votes), past polls