Subject: | ActiveState 5.10.1 Makefile.PL patch |
Date: | Thu, 12 Nov 2009 17:02:26 -0600 |
To: | "bug-Variable-Magic [...] rt.cpan.org" <bug-Variable-Magic [...] rt.cpan.org> |
From: | Markx.Allen <Markx.Allen [...] target.com> |
I'm using ActiveState (32 bit) 5.10.1 (build 1006) on Windows XP SP2.
I had to patch the Makefile.PL to get Variable::Magic to compile and
test successfully on my workstation.
I attached the patch to this email as a file, but in case it gets
lost/eaten by RT, here's the contents of the patch (sorry if the
whitespace gets messed up.)
I see from the cpantesters that this module seems to build well
on other Win32 installs, so I'm not sure why ActiveState build
1006 doesn't seem to work "out of the box."
--- Makefile.PL.orig Sun Oct 04 11:02:17 2009
+++ Makefile.PL Thu Nov 12 16:47:20 2009
@@ -25,7 +25,7 @@
my $is_as = 0;
print "Checking if this is ActiveState Perl 5.8.8 build 822 or higher... ";
-if ($^V eq v5.8.8) {
+#if ($^V eq v5.8.8) {
eval {
require ActivePerl;
1;
@@ -35,10 +35,12 @@
if ($build >= 822) {
$is_as = 1;
push @DEFINES, '-DVMG_COMPAT_ARRAY_PUSH_NOLEN=1';
+ push @DEFINES, '-DVMG_FORKSAFE=0';
+ push @DEFINES, '-DVMG_MULTIPLICITY=0';
}
}
- }
-}
+ };
+#}
print $is_as ? "yes\n" : "no\n";
my $is_5110rel = 0;
Message body is not shown because sender requested not to inline it.