Subject: | Build.PL doesn't work |
Moin,
the following Build.PL file
#!/usr/bin/perl -w
# Dear Distribution Packager. This use of require is intentional.
# Module::Install detects Build.PL usage and acts accordingly.
require 'Makefile.PL';
does actually not work at all. See here for a CPAN-testers report about
a failure:
http://www.nntp.perl.org/group/perl.cpan.testers/2007/03/msg437865.html
You can replicate this by downloading Devel-Size 0.66 and run the following:
perl Build.PL
./Build test
This sequence does neither create the C file from XS, nor actually build
the .o file. This the test fails.
Here is another bugreport, where Build.PL fails (it might be a different
cause, tho):
http://www.nntp.perl.org/group/perl.cpan.testers/2007/03/msg429372.html
For now, I will ripping out every "Build.PL" from my distributions to
prevent people from using it :)
All the best,
tels