Skip Menu |

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 17278
Status: resolved
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: Nobody in particular
Requestors: BARBIE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.18
Fixed in: (no value)



Subject: Failing make on Perl 5.6.1 on Win32
Downloaded and untarred the distribution from CPAN. The Makefile created seems to be illegal for nmake on MSWin32. The result of perl Makefile.PL and nmake is: C:\.cpan\build\Scalar-List-Utils-1.18>perl Makefile.PL Writing Makefile for List::Util C:\.cpan\build\Scalar-List-Utils-1.18>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. makefile(287) : fatal error U1036: syntax error : too many names to left of '=' Stop. Line 287 in Makefile is: XSUBPPARGS += -typemap mytypemap This is on MS 2000 Pro, with ActivePerl 5.6.1 build 638.
From: Steve David <steve [...] davidnj.net-NOSPAM>
I have experienced the same issue. The attached patch will fix the problem. Regards, Steve On Wed Jan 25 14:25:53 2006, BARBIE wrote: Show quoted text
> Downloaded and untarred the distribution from CPAN. The Makefile
created Show quoted text
> seems to be illegal for nmake on MSWin32. The result of perl
Makefile.PL Show quoted text
> and nmake is: > > C:\.cpan\build\Scalar-List-Utils-1.18>perl Makefile.PL > Writing Makefile for List::Util > > C:\.cpan\build\Scalar-List-Utils-1.18>nmake > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > makefile(287) : fatal error U1036: syntax error : too many names to
left Show quoted text
> of '=' > Stop. > > > Line 287 in Makefile is: > > XSUBPPARGS += -typemap mytypemap > > > This is on MS 2000 Pro, with ActivePerl 5.6.1 build 638.
39c39 < XSUBPPARGS = $(XSUBPPARGS) -typemap mytypemap --- > XSUBPPARGS += -typemap mytypemap
Subject: Failing make on Perl 5.6.1 on Win32 PATCH WORKS
On Fri Jul 07 14:18:39 2006, guest wrote: Show quoted text
> I have experienced the same issue. The attached patch will fix the > problem. > Steve
Steve's patch fixes the problem. Please incorporate it into the next distribution.
Subject: Failing make on Perl 5.6.1 on Win32 PATCH WORKS
On Fri Jul 07 14:18:39 2006, guest wrote: Show quoted text
> I have experienced the same issue. The attached patch will fix the > problem. > Steve
Steve's patch fixes the problem. Please incorporate it into the next distribution.
Subject: Failing make on Perl 5.6.1 on Win32 PATCH WORKS
On Fri Jul 07 14:18:39 2006, guest wrote: Show quoted text
> I have experienced the same issue. The attached patch will fix the > problem. > Steve
Steve's patch fixes the problem. Please incorporate it into the next distribution.
From: YVES [...] cpan.org
On Fri Jul 07 14:18:39 2006, guest wrote: Show quoted text
> I have experienced the same issue. The attached patch will fix the > problem.
This will fix a given build, but doesnt actually fix the underlying problem. Attached patch does. (Also fixes another bug for building on 5.8.6) Cheers, yves
diff -urd Scalar-List-Utils-1.18/Makefile.PL Scalar-List-Utils-1.18_patched/Makefile.PL --- Scalar-List-Utils-1.18/Makefile.PL 2005-11-25 17:15:46.000000000 +0100 +++ Scalar-List-Utils-1.18_patched/Makefile.PL 2006-12-04 14:11:10.554250000 +0100 @@ -36,7 +36,7 @@ return <<'POST_CONST'; -XSUBPPARGS += -typemap mytypemap +XSUBPPARGS = $(XSUBPPARGS) -typemap mytypemap POST_CONST diff -urd Scalar-List-Utils-1.18/Util.xs Scalar-List-Utils-1.18_patched/Util.xs --- Scalar-List-Utils-1.18/Util.xs 2005-11-25 16:34:32.000000000 +0100 +++ Scalar-List-Utils-1.18_patched/Util.xs 2006-12-04 14:06:57.351125000 +0100 @@ -312,7 +312,7 @@ { dVAR; int index; -#if (PERL_VERSION < 8) || (PERL_VERSION == 8 && PERL_SUBVERSION <1) +#if (PERL_VERSION < 9) struct op dmy_op; struct op *old_op = PL_op; Only in Scalar-List-Utils-1.18_patched: vc70.pdb
This makefile format does not work with gmake, so I changed it to only output this format on Win32