Q about prerequisites

2010-03-25 Thread craig
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.

Re: Q about prerequisites

2010-03-25 Thread Jonathan Yu
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

Re: Q about prerequisites

2010-03-25 Thread David Golden
On Thu, Mar 25, 2010 at 12:58 PM, cr...@animalhead.com wrote:     'BUILD_REQUIRES' = {'LWP'           = 5.834, BUILD_REQUIRES was only recently added to ExtUtils::MakeMaker in 6.56. You need to add 'configure_requires' to META.yml specifying ExtUtils::MakeMaker 6.56. That won't help users

Re: Q about prerequisites

2010-03-25 Thread Aristotle Pagaltzis
* cr...@animalhead.com cr...@animalhead.com [2010-03-25 18:00]: 1. Change 'LWP' to 'LWP::UserAgent' in BUILD_REQUIRES This won’t fix this problem, but you should do that anyway. Do not mention distributions. The CPAN client will figure out which distributions the user needs. Your job is to list

Re: Q about prerequisites

2010-03-25 Thread craig
Jonathan, David, Aristotle: With such smart and helpful people as you, all problems can be solved. Looking at the test report, EU::MM was only 6.42, which is before it could process BUILD_REQUIRES, which makes David correct in his diagnosis. So I'll put CONFIG_REQUIRES = {EU:MM = 6.56} into

Re: Q about prerequisites

2010-03-25 Thread Eric Wilhelm
# from cr...@animalhead.com # on Thursday 25 March 2010 16:39: CPAN on the smokebox was 1.9402, which can presumably act on the CONFIG_REQUIRES in META.yml.  Otherwise there would seem to be a semantic knot wherein the 6.42 EU:MM doesn't know how to process the new CONFIG_REQUIRES so it can

Re: Q about prerequisites

2010-03-25 Thread David Golden
On Thu, Mar 25, 2010 at 7:39 PM, cr...@animalhead.com wrote: diagnosis.  So I'll put CONFIG_REQUIRES = {EU:MM = 6.56} into Makefile.PL, and check that it propagates to META.yml. Nit: It's CONFIGURE_REQUIRES, not CONFIG_REQUIRES. Also, you'll probably want to put that in a section that only

Re: Q about prerequisites

2010-03-25 Thread craig
Nit: I'm a lazy typist. The new module (HTTP::ProxyAutoConfig 0.3) has already been uploaded. Your comment put that in a section that only runs... has me all confused. I just put CONFIGURE_REQUIRES = {EU:MM = 6.56} into Makefile.PL. It went into META.yml. This is a small module and has no

Re: Q about prerequisites

2010-03-25 Thread David Golden
On Thu, Mar 25, 2010 at 11:04 PM, cr...@animalhead.com wrote: Your comment put that in a section that only runs... has me all confused. I just put CONFIGURE_REQUIRES = {EU:MM = 6.56} into Makefile.PL. It went into META.yml. This is a small module and has no sections that I can think of.