Subject: | Missing prerequisite for ExtUtils::MakeMaker |
Hello,
I experience some problem installing your module XML::Writer (0.600) on an older Perl (5.6.1) on a Linux box.
I found out that you are using a feature in ExtUtils::MakeMaker, which was not present in the version shippen with Perl 5.6.1 (5.4302, according to Module::Corelist).
The feature NO_META was not introduced until version 6.10_03 of ExtUtils::MakeMaker according to the Changes file (see below):
6.10_03 Fri Apr 11 00:21:25 PDT 2003
* Added NO_META WriteMakefile() option to suppress generation of
META.yml. (Spoon, rt.cpan.org 2359)
I have attached a patch to your Makefile.PL, or you can just add the prerequisite by hand.
jonasbn
Index: Makefile.PL
===================================================================
RCS file: /cvs/patches/XML-Writer-0.600/Makefile.PL,v
retrieving revision 1.1
diff -u -r1.1 Makefile.PL
--- Makefile.PL 8 Dec 2005 21:51:30 -0000 1.1
+++ Makefile.PL 8 Dec 2005 22:02:08 -0000
@@ -8,7 +8,9 @@
WriteMakefile(
'NAME' => 'XML::Writer',
'VERSION' => '0.600',
-
+ 'PREREQ_PM' => {
+ 'ExtUtils::MakeMaker' => '6.10_03',
+ },
# A manually-created META.yml has all the other metadata;
# we don't want it overwritten
NO_META => 1