Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 57039
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: mb [...] otrs.org
Cc:
AdminCc:

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



Subject: Makefile.PL does not recognize StrawberryPerl's new MinGW compiler
Since the April 2010 release, StrawberryPerl switched to using a new build mechanism. Now if I try to install Net::DNS on the new Strawberry, it does not recognize the C compiler and offers to build as PurePerl instead. The trick is here in the Makefile.PL of Net::DNS: Change line 2 from: #if defined(_MSC_VER) || defined(__MINGW32_VERSION) to #if defined(_MSC_VER) || defined(__MINGW32__) StrawberryPerl's resident C guru, kmx, says that this change will not break backwards compatibility for older MinGW compilers. If you could adjust the Makefile.PL, that'd be brilliant! Thanks, Mike.
Show quoted text
> If you could adjust the Makefile.PL, that'd be brilliant!

it is not Makefile.PL but netdns.h - otherwise I confirm the patch

--
kmx

Subject: Re: [rt.cpan.org #57039] Makefile.PL does not recognize StrawberryPerl's new MinGW compiler
Date: Thu, 29 Apr 2010 15:55:37 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: Michiel Beijen <michiel.beijen [...] otrs.com>
Oh man, I'm sorry. Obviously kmx is right. "kmx via RT" <bug-Net-DNS@rt.cpan.org> wrote: Show quoted text
><URL: https://rt.cpan.org/Ticket/Display.html?id=57039 > >
>> If you could adjust the Makefile.PL, that'd be brilliant!
> >it is not Makefile.PL but netdns.h - otherwise I confirm the patch > >-- >kmx
-- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
RT-Send-CC: michiel.beijen [...] otrs.com
Hi I can confirm that this works. But just to be sure not to break anything, I've chnaged it to: #if defined(_MSC_VER) || defined(__MINGW32_VERSION) || defined(__MINGW32__) Regards, Willem