Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Thursday May 19, 2005
12:42 PM

Fixing Module::Build

[ #24774 ]

So after quite a bit of acrimonious discussion in the Chatterbox on Perlmonks, an interesting compromise for Module::Build was discussed. Instead of Build.PL, name it Makefile.PL., have it check for, and install it if it doesn't find it, a generic make wrapper (written in Perl) that calls make (or nmake or gmake) if MakeMaker is being used but lets Module::Build do its own thing. A simple Makefile could be written out that does virtually nothing but call the build script. Thus, we would get backwards compatability and have a clean migration path.

One problem I see is ensuring that the make wrapper gets picked up before the actual make program. The first time this is run, the user would have to run Makefile.PL as root/Administrator to ensure that the wrapper gets installed, but if those challenges could be overcome, would this fix much of the current Module::Build complaints (outside of PREFIX)?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.