On 10/20/07, A. Pagaltzis <[EMAIL PROTECTED]> wrote: > * demerphq <[EMAIL PROTECTED]> [2007-10-19 23:10]: > > On 10/19/07, A. Pagaltzis <[EMAIL PROTECTED]> wrote: > > > * demerphq <[EMAIL PROTECTED]> [2007-10-19 18:50]: > > > > How does one use this then? Where is it documented? > > > > > > http://module-build.sourceforge.net/META-spec-blead.html#configure_requires > > > > So how do i use this with MakeMaker? > > Doesn't seem like you can do that from within MakeMaker so far. > > However you can certainly hand-edit your META.yml to add it. Once > created the meta file is not regenerated if you don't ask for it, > I think.
The point of my reply to Eric was dialectical, in the sense that the answer to my question revealed the flaw in his response. A) The contents of META.yml is not well or widely documented. That META-spec-blead in the Module::Build source code repository does mention it does not make it well publicized nor documented. About the only people who would know about it are META.yml wonks and active developers on the MB project. B) Absent a documented way to set this in MakeMaker, suggesting that it is the appropriate solution to the problem intended to be solved by Devel::CheckLib seems out of place at best, and presumptive at worst. As an aside, it seems to me that both Devel::CheckLib and configure_requires suffer from a fatal flaw in that they do not solve the problem for existing modules. The solution to this problem lies in better logic in CPAN Testers. What that logic should be is left as an exercise for the reader, but i suspect it has something to do with being better at detecting errors generated by the build process and discriminating between them. If XS code fails to build because it can't link to a required non-bundled library then this should be distinguished from things like something failing to build because the author used unportable GCC'isms like declarations after code. Naturally of course this is a Hard Problem, hence why i leave it as an exercise :-) cheers, Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"