On Mon, Oct 22, 2007 at 10:52:47AM -0700, Eric Wilhelm wrote:
> # from David Cantrell
> # on Monday 22 October 2007 09:58:
> >> This is a specific sort of failure, and as far as I'm concerned it
> >> is an improperly configured machine.
> >How is it improperly configured?
> It is ignoring Build.PL

Bear in mind that the typical Build.PL (this one is taken from List-oo)
goes like this:

    use strict;
    use warnings;
    use Module::Build;
    ...

and so consequently goes like this:

    Can't locate Module/Build.pm ...
    BEGIN failed--compilation aborted.

>                         (and the requirement for Module::Build in the 
> META.yml

META.yml kinda assumes that there's a YAML to read it.  YAML.pm doesn't
even pass its tests on 5.6.2 and isn't in core on *anything*.

>          (and the instructions in the README))

perl has never been very good at reading English.

Also I note that the README for List-oo doesn't say anything about
installing Module::Build.  It merely says to run 'perl Build.PL'.  Feel
free to consider this to be a bug report.

>                                                 then "inventing" a 
> Makefile.PL and trying to run that.

Given the above ubiquitous bug in Build.PL, and that Module::Build can
be a real pain in the arse to get working properly, that seems like a
very good idea when you consider that the aim of these tools is to
try to install your module.  Even if it fails, it will at least alert
you that you accidentally forgot to do the Module::Build::Compat thing.

-- 
David Cantrell | Enforcer, South London Linguistic Massive

Reply via email to