On Tue, Aug 18, 2009 at 7:39 AM, Ingo Lantschner<listen2...@lantschner.name> wrote: > 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. > > Btw.: What is the reason, for not including the requirements from > configure_requires into the WriteMakefile()-part of the traditionaly created > Makefile.PL?
configure_requires is only ever read from META.yml and only newer CPAN.pm and CPANPLUS know to look for it. The "contract" that we're trying to establish is that CPAN/CPANPLUS will ensure that all prerequisites listed in configure_requires are in place *before* running Build.PL or Makefile.PL. By the time Makefile.PL or Build.PL runs, it's too late to specify configure_requires. (It's only in Build.PL for META.yml generation.) -- David