Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 46100
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

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

Bug Information
Severity: Normal
Broken in: 6.50
Fixed in: (no value)



Subject: 'make ppd' specifies wrong ARCHITECTURE NAME in ppd file (5.10 only)
Hi, It's a win32 problem - whether we're running 'nmake ppd' or 'dmake ppd', the ARCHITECTURE NAME that gets written into the generated ppd file is incorrect on perl-5.10. Here's a patch against version 6.50 of MM_Unix.pm (stolen from code in http://cpansearch.perl.org/src/MURRAY/PPM-2.1.9/lib/PPM.pm ) that rights the wrong: ################################ --- MM_Unix.pm_orig Fri May 15 15:46:42 2009 +++ MM_Unix.pm Fri May 15 15:51:33 2009 @@ -3002,12 +3002,11 @@ } my $archname = $Config{archname}; - if ($] >= 5.008) { - # archname did not change from 5.6 to 5.8, but those versions may - # not be not binary compatible so now we append the part of the - # version that changes when binary compatibility may change - $archname .= "-". substr($Config{version},0,3); - } +if ($] >= 5.008) { + my $vstring = sprintf "%vd", $^V; + $vstring =~ s/\.\d+$//; + $archname .= "-$vstring"; +} $ppd_xml .= sprintf <<'PPD_OUT', $archname; <OS NAME="$(OSNAME)" /> <ARCHITECTURE NAME="%s" /> ################################ (The problem: The ARCHITECTURE NAME currently terminates the string with "5.1", but it needs to terminate with "5.10".) Cheers, Rob
Subject: Re: [rt.cpan.org #46100] 'make ppd' specifies wrong ARCHITECTURE NAME in ppd file (5.10 only)
Date: Sun, 17 May 2009 18:06:07 -0700
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Sisyphus via RT wrote: Show quoted text
> It's a win32 problem - whether we're running 'nmake ppd' or 'dmake > ppd', the ARCHITECTURE NAME that gets written into the generated ppd > file is incorrect on perl-5.10.
Thanks, but this has already been fixed in 6.51_01. You can get a copy here to try out. http://github.com/schwern/extutils-makemaker/downloads I'm going to close this. Please reopen if 6.51_01 didn't fix it. -- 101. I am not allowed to mount a bayonet on a crew-served weapon. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/
Already fixed in 6.51_01.