Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

What's the deal with ExtUtils::MakeMaker [build_requires]

by ait (Friar)
on Aug 04, 2011 at 01:33 UTC ( #918414=perlquestion: print w/ replies, xml ) Need Help??
ait has asked for the wisdom of the Perl Monks concerning the following question:

Hello

I've been meaning to ask this for a while now but why the hell does almost every single module I use require ExtUtils::MakeMaker to be built every time???

Even if you install the latest version of MakeMaker, the build process of many modules require the build AGAIN during the build process!!! This is absurd and a royal pain in the ass in FreeBSD because ExtUtils::MakeMaker doesn't build correctly in FBSD jails and even if it's built outside and the installed as a FBSD package (a common remedy for some limitations on jails), the build process requires this module to be built every single time I fire up the CPAN shell and want to install something.

Could someone be so kind as to explain this? Is there any way to ignore this single prereq in the cpan shell?

The funny thing is that if you have the latest version installed and you switch o conf prerequisites_policy ask and skip the MakeMaker install you can actually get away with installing the module you want. The trick is to install all the other dependencies first, and the ONLY skip MakeMaker.

Thanks!

Comment on What's the deal with ExtUtils::MakeMaker [build_requires]
Re: What's the deal with ExtUtils::MakeMaker [build_requires]
by Anonymous Monk on Aug 04, 2011 at 03:48 UTC

    I've been meaning to ask this for a while now but why the hell does almost every single module I use require ExtUtils::MakeMaker to be built every time???

    It does not, end of story :)

    Or, it does not with the latest version of cpan/cpanp/cpanm

      OK. So taking your word for it, I upgraded the cpan shell and Bundle::CPAN, and have 1.9600, and then tried a fresh install of MooseX::NonMoose and it did it AGAIN, it tries to install MakeMaker. This is insane! Why the hell does it always want to download and install MakeMaker? WHY? WHY? WHY?

        Something sounds messed up in your system. What's the permissions on MakeMaker.pm and what's your path settings?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://918414]
Approved by BrowserUk
Front-paged by BrowserUk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2014-09-19 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls