|P is for Practical|
What's the deal with ExtUtils::MakeMaker [build_requires]by ait (Friar)
|on Aug 04, 2011 at 01:33 UTC||Need Help??|
ait has asked for the
wisdom of the Perl Monks concerning the following question:
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.