in reply to Re: cpan and cpanplus and toolchain
in thread cpan and cpanplus and toolchain

Catalyst's helper scripts to create an application produced a Makefile.PL. All the docs and walk-troughs use that. There's no Build.PL in this directory.

Replies are listed 'Best First'.
Re^3: cpan and cpanplus and toolchain
by Khen1950fx (Canon) on Mar 18, 2011 at 08:50 UTC
      Thanks. I see that makepl_arg is already set to [INSTALLDIRS=site].

      I don't understand why I can issue cpan -i fine now, but the makefile can't do the same me thing for me.

Re^3: cpan and cpanplus and toolchain
by educated_foo (Vicar) on Mar 18, 2011 at 08:41 UTC
    You need to make sure that the Makefile.PL doesn't just call Module::Build. You can put a die "MB"; at the start of Module/Build.pm to be sure it's not a Module::Build SNAFU.
      What's wrong with Module::Build?
        There used to be one way to build Perl modules (ExtUtils::MakeMaker), and it worked. Now there are two, the new one isn't that much better than the old one, and everyone has to be made painfully aware of its existence (e.g. the refusal to support PREFIX). Also, check it out on CPAN ratings or RT.