Skip Menu |

This queue is for tickets about the IO-Tty CPAN distribution.

Report information
The Basics
Id: 44771
Status: resolved
Priority: 0/
Queue: IO-Tty

People
Owner: TODDR [...] cpan.org
Requestors: peterson146 [...] gmail.com
Cc:
AdminCc:

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



Subject: Fails to make on Strawberry Perl
Date: Thu, 2 Apr 2009 23:24:43 -0700
To: bug-IO-Tty [...] rt.cpan.org
From: Scott Peterson <peterson146 [...] gmail.com>
My attempt to install this module using cpan.bat on Windows XP SP2 failed per below: This is perl, v5.10.0 built for MSWin32-x86-multi-thread. ** ** ** cpan> install IO::Tty Running install for module 'IO::Tty' Running make for R/RG/RGIERSIG/IO-Tty-1.08.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\IO-Tty-1.08 -u4W0Sc Could not make: Unknown error Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Cheers...
Module doesn't work under any version of Windows (except in Cygwin environment). I need to add a test in Makefile.PL that returns "unsupported". -- RGiersig@cpan.org
Subject: Re: [rt.cpan.org #44771] Fails to make on Strawberry Perl
Date: Tue, 14 Apr 2009 10:54:38 -0700
To: bug-IO-Tty [...] rt.cpan.org
From: Scott Peterson <peterson146 [...] gmail.com>
Roland, Thanks for the followup; after digging around with Google I discovered this independently. Regards, Scott On Tue, Apr 14, 2009 at 7:51 AM, Roland Giersig via RT < bug-IO-Tty@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=44771 > > > Module doesn't work under any version of Windows (except in Cygwin > environment). I need to add a test in Makefile.PL that returns > "unsupported". > > -- > RGiersig@cpan.org >
-- Scott http://redcloudresearch.blogspot.com http://wasatchecon.blogspot.com
From: schultz.peter [...] hotmail.com
On Di. 14. Apr. 2009, 10:51:21, RGIERSIG wrote: Show quoted text
> Module doesn't work under any version of Windows (except in Cygwin > environment). I need to add a test in Makefile.PL that returns > "unsupported". > > -- > RGiersig@cpan.org
Found the following line in conf/compilerok.log under Vista x86 w/o cygwin: <command line>:3:1: macro names must be identifiers The problem was in Makefile.PL, line 8. (escape shell-metachars) POSIX don't care about escaped underscores, but Windows does. So change Makefile.PL:8 from $flags =~ s/([^A-Za-z0-9 -])/\\$1/g; # escape shell-metachars to $flags =~ s/([^A-Za-z0-9 -_])/\\$1/g; # escape shell-metachars or maybe (untested) $flags =~ s/([^\w -])/\\$1/g; # escape shell-metachars Regards Peter
RT-Send-CC: schultz.peter [...] hotmail.com
I've added your suggested patch and we'll see how this tests on CPAN testers. http://github.com/toddr/IO-Tty/commit/577f20db8f1f2a885c98da44611b94a78fb46b43
Fixed in 1.08_02. Will be in 1.09 later this week