Re: [rt.cpan.org #80217] Build failure under Cygwin on Windows
[email protected] ("Jerry D. Hedden via RT") Fri, 19 Oct 2012 08:40:16 -0400
| Newsgroups | perl.libwin32 |
|---|---|
| Message-ID | <[email protected]> |
Fri Oct 19 08:40:15 2012: Request 80217 was acted upon.
Transaction: Correspondence added by JDHEDDEN
Queue: Win32-API
Subject: Re: [rt.cpan.org #80217] Build failure under Cygwin on Windows
Broken in: 0.72
Severity: Critical
Owner: Nobody
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80217 >
On Fri, Oct 19, 2012 at 7:38 AM, Jerry D. Hedden <[email protected]> wrote:
> On Fri, Oct 19, 2012 at 1:42 AM, Daniel Dragan via RT
> <[email protected]> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=80217 >
>>
>> New version posted at https://github.com/bulk88/perl5-win32-api . It
>> passed all tests for my 32 bit with Quads Cygwin Perl. Please try it and
>> report back.
>
> Lots of failure on Cygwin 1.5 due to:
>
> cygpath: unknown option -- V
The attached patch is a fix for this.
win32api.patch
(application/octet-stream, 513 B)
--- bulk88-perl5-win32-api-2238c18/API.pm 2012-10-18 21:09:08.000000000 -0400
+++ bulk88-perl5-win32-api-patched/API.pm 2012-10-19 08:33:36.572524800 -0400
@@ -22,7 +22,7 @@
BEGIN {
no warnings 'uninitialized';
die "Win32::API on Cygwin requires the cygpath tool on PATH"
- if $^O eq 'cygwin' && index(`cygpath -V`,'cygpath (cygwin)') == -1;
+ if $^O eq 'cygwin' && index(`cygpath --help`,'Usage: cygpath') == -1;
}
use vars qw( $DEBUG $sentinal @ISA @EXPORT_OK %Imported $VERSION );