Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 31279
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: CPANPLUS should automatically install Module::Build and necessary tools
When a stock CPANPLUS encounters a Build.PL without a Makefile.PL you get this message: This module requires 'Module::Build' and 'CPANPLUS::Dist::Build' to be installed, but you don't have it! Will fall back to 'CPANPLUS::Dist::MM', but might not be able to install! Falling back to CPANPLUS::Dist::MM, which desperately tries to make it's own Makefile.PL, almost never works. This causes a lot of false failures and unnecessarily halts what would otherwise be automatic builds. Rather than make the user manually install the necessary modules to handle Build.PL, CPANPLUS should do this automatically as CPAN.pm does. After all, that's one of the big features of a CPAN shell, automatic dependency resolution.
PS It would seem that supporting this and supporting configure_requires will use pretty much the same code. This can be expressed as an implicit configure_requires Module::Build & CPANPLUS::Dist::Build.
On Thu Dec 06 19:47:04 2007, MSCHWERN wrote: Show quoted text
> PS It would seem that supporting this and supporting configure_requires > will use pretty much the same code. This can be expressed as an > implicit configure_requires Module::Build & CPANPLUS::Dist::Build.
With CPANPLUS 0.86 (not yet releases) CPANPLUS::Dist::Build will be added as a configure_requires type prerequisite when a Build.PL is encountered and no Makefile.PL is present. Thanks for reporting.