Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of Corion (7288)

Tuesday October 17, 2006
02:30 PM

Modules shipping with a broken Module::Install

[ #31344 ]

That's what I like about non-broken installers. Class::Inspector comes with Module::Install 0.62, which is broken. The trick to still install it is as follows:

  1. Install Module::Install (0.64 at this time)
  2. Delete the inc/ directory in the Class-Inspector-1.62/ directory
  3. Run perl -w Makefile.PL once to bootstrap Module::Install
  4. Run perl -w Makefile.PL && make && make install to install the package.

Thanks to Audrey for making this so painless

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Why Module::Install cannot detect that the installed version is newer and then fallback to this, instead of insisting on the outdated (and possibly broken) version embedded in the distribution? Such feature would be able to remedy installations with broken installers with a simpler recipe like:
    cpan> install Module::Install
    cpan> install Dist::With::Broken::Installer
    • Usually, Module::Install is not installed on the target Perl. That is the charm of the whole thing, as it circumvents that part of the problems that Module::Build has until it makes it into the Perl core.