On Feb 6, 2006, at 3:01 PM, Bill Moseley wrote:

How do I setup CPAN.pm to work with both MakeMaker and Module::Build?

I want to install *all* modules locally using CPAN.pm.


    'makepl_arg' => q[INSTALLDIRS=site PREFIX=/home/moseley/local],

You have a couple options here if you install recent-enough versions of M::B and/or MakeMaker. The recent betas of M::B support --prefix, which is the same as MakeMaker's PREFIX, and the latest versions (betas?) of MakeMaker support INSTALL_BASE, which is the same as M::B's --install_base.



Yet, if I use:

'makepl_arg' => q[INSTALLDIRS=site install_base=/home/moseley/local],

Then installs fail due to "bin" not being based on the install_base.

I'm not sure I understand this - could you elaborate on how it fails? Is this using Module::Build or using MakeMaker?

 -Ken

Reply via email to