Craig,

I havne't looked into your issue specifically but this looks like it
may be related to older CPAN.pm's which did not honour build_requires
and configure_requires. Subsequently, you probably have to do some
manual checking, though hopefully someone more experienced with doing
that sort of thing will speak up...

On Thu, Mar 25, 2010 at 12:58 PM,  <cr...@animalhead.com> wrote:
> I added LWP::UserAgent to a test, and thought I had it covered
> by adding LWP to Makefile.PL like this:
>     'BUILD_REQUIRES' => {'LWP'           => 5.834,
>                          'Test::More'    => 0},
> One of many smoke-test systems has a problem with this.
> http://www.cpantesters.org/cpan/report/6979525
> The report says "Can't locate LWP/UserAgent.pm in @INC"
> Which is the best way to fix this?
> 1. Change 'LWP' to 'LWP::UserAgent' in BUILD_REQUIRES
> 2. Add 'LWP' to PREREQ_PM
> 3. Add 'LWP::UserAgent' to PREREQ_PM
> 4. Add 'LWP::UserAgent' and 'Test::More' to PREREQ_PM
> 5. #4 plus delete BUILD_REQUIRES
> It seems we have 3 categories: config_requires, build_requires, and
> requires, and it's not clear which of the last 2 applies to something
> required by a test.
> Please forgive if this has been asked and answered before.
> I've given up on my data mining skills.
> Thanks,
> cmac
>

Reply via email to