On Mon, Aug 12, 2002 at 08:06:16AM -0400, Jeff Urlwin wrote: > > > > > Please look at line 35 of the Makefile.PL. That's being executed on my > > > 5.8.0 (on Suse Linux, self compiled). Is that not being > > executed for some > > > reason on your machine or does the way I'm doing it cause a problem? > > > > Ok in fact your prereqs are ok. The trouble is at top of Makefile.PL, > > when you add > > use DBI 1.201; > > use DBI::DBD; > > > > Makefile.PL will fail before we can do something with prereqs ... The > > only other way I see is to include needed method of DBI in your > > Makefile.PL, and after we can use prereqs and download rights modules. > > > The issue is this is the way that DBI is designed and "injects" code into > every DBD::XXXX. As DBI changes, I don't want to be "left behind" so to > speak (or worse, break compatibility!). > > CCed to dbi-dev -- as I may be doing something wrong...however I just > re-checked DBD::Oracle and it has the same 'use' at the top.
Nope. That's the way it should be - at least for now. It's hard to see how any prerequisite handling logic can be just 'dropped in' to ExtUtils::MakeMaker and expect to work. It seems reasonable to me that whatever is driving the build should scan the Makefile.PL for "use Foo ...;" lines and treat them as prereqs *before* trying to run the Makefile.PL. Tim.
