> Ingo Lantschner <listen2...@lantschner.name> wrote:
>
>
> Am 18.08.2009 um 04:54 schrieb Sisyphus:
>
> > I think that, in your Makefile.PL, WriteMakefile() should specify
> > 'SUPER' => 0 in PREREQ_PM (assuming, of course, that *any* version
> > of SUPER will suffice).
> ok, I think after re-reading the documentation of Module::Build if
> have found the point. The module which failed during some tests
> because of a missing prerequisite (Sub::Identify), needs SUPER.pm to
> run the tests. So I wrote it into the Build.PL:
>
> configure_requires => {
> 'SUPER' => 0,
> },
>
> The line
>
> create_makefile_pl => 'traditional',
>
> in Build.PL is responsible for creating the Makefile.PL. But it only
> includes the requirements of requires and build_requires into the
> Makefile - not the ones listed in configure_requires. So systems using
> Makefile.PL will fail, if SUPER.pm (or one of its requirements) is not
> installed.
>
> So the cleanest solution in my opinion is: Add SUPER.PM to
> configure_requires AND build_requires in Build.PL.
Oops - I forgot that this was primarily a Module::Build distro. I was thinking
solely in terms of ExtUtils::MakeMaker, with which I am more familiar - sorry
for any confusion.
Still, it sounds like you've got it right. (David's post spells the general
requirements out fairly well.)
Cheers,
Rob