Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 51261
Status: resolved
Priority: 0/
Queue: Wx

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

Bug Information
Severity: Critical
Broken in: 0.94
Fixed in: (no value)



Subject: gcc compiler check for windows is broken
in build/Wx/build/MakeMaker.pm there is this line: m/^gcc/i and $package_to_use = 'Win32_MinGW' and last SWITCH; however, $_ becomes "C:/MinGW/bin/gcc.exe" on my system (Vista 32bit & ActivePerl 5.10.1). ActivePerl automatically detects the gcc on path and alters $Config{cc} on the fly. I've bypassed that line manually to install Wx and it seems to work. So my suggestion to fix it will be: ( m/^gcc/i || m/gcc\.exe$/i ) and $package_to_use = 'Win32_MinGW' and last SWITCH; HTH, Burak
Subject: Re: [rt.cpan.org #51261] gcc compiler check for windows is broken
Date: Wed, 11 Nov 2009 22:36:56 +0100
To: bug-Wx [...] rt.cpan.org
From: Mattia Barbon <mattia.barbon [...] libero.it>
Burak Gursoy via RT wrote: I changed the line above to local $_ = File::Basename::basename( $Config{cc} ); Thanks! Mattia
11 Kas. 2009 Çar., 16:40:23 tarihinde, mattia.barbon@libero.it yazdı: Show quoted text
> Burak Gursoy via RT wrote: > > I changed the line above to > > local $_ = File::Basename::basename( $Config{cc} );
Yes, that's better :) Show quoted text
> Thanks! > Mattia