If those prereqs are needed at runtime, they belong in PREREQ_PM.
BUILD_REQUIRES is only for things needed at the "make" or "./Build" step.

On Wed, Sep 28, 2016 at 3:39 PM, Ron Savage <r...@savage.net.au> wrote:

> Hi David
>
> On 28/09/16 21:43, David Cantrell wrote:
>
>> On Wed, Sep 28, 2016 at 03:10:58AM +0200, Eirik Berg Hanssen wrote:
>>
>>   Data::Dumper and a whole slew of other modules are specified as
>>> "configure" prereqs.
>>>
>>
>> The 'configure' step is when you run Makefile.PL. And because there's no
>> META.yml, the only way to find out what the configure_requires modules
>> are is to run Makefile.PL. By the time that has put the resulting data
>> into Makefile it's too late to actually *use* that data.
>>
>> Change the CONFIGURE_REQUIRES to BUILD_REQUIRES and CPAN clients should
>> DTRT.
>>
>
> Thanx!
>
>
> --
> Ron Savage - savage.net.au
>

Reply via email to