On Sunday 30 September 2007 7:55 am, Jos I. Boumans wrote: > On Sep 27, 2007, at 2:15 AM, Graham TerMarsch wrote: > > On Wednesday 26 September 2007 4:40 pm, Michael G Schwern wrote: > > > Write a Build.PL with a compatibility Makefile.PL and make sure that > > > Apache::Test is in the MakeMaker PREREQ_PM. You appear to be > > > doing that so it should work. Is it not? > > > > No. > > > > The gotcha is, that when "perl Makefile.PL" is run, if Apache::Test > > isn't installed at -that- moment, it doesn't set up the test harness > > properly. > > > > Even if the build tool goes out and downloads and installs > > Apache::Test, it'd need to come back and re-run "perl Makefile.PL" > > again before attempting to build/test/install my package. > > > > CPANPLUS doesn't do that. > > This is a known issue and something that afaik Adam Kennedy is > looking to resolve with having 'configure requires' support in META.yml. > > Unfortunately, there's no standard solution for this. What a lot of > people do currently (myself included), is to bundle these prerequisites. > > I'm not sure how easy this is with Apache::Test though.
Unfortunately, its not. Might be do-able, but it'd be a whole lot of extra modules to have to bundle up. I do see that CPAN has recent support for "configure_requires", and that the current SVN for Module::Build does as well. I understand that it'd need to be listed in the META.yml file first, but if I do that, how far off are we for having CPANPLUS recognize it and then make sure that those dependencies are resolved before attempting to do the build? -- Graham TerMarsch