Skip Menu |

This queue is for tickets about the FindBin-libs CPAN distribution.

Report information
The Basics
Id: 75597
Status: resolved
Worked: 3 min
Priority: 0/
Queue: FindBin-libs

People
Owner: Nobody in particular
Requestors: felliott [...] virginia.edu
Cc:
AdminCc:

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



Subject: failure to install under cpanminus
Hello, FindBin::libs 1.63 fails to install under cpanminus 1.5007 with the error message: Invalid version format (non-numeric data) at /loader/0x100834ea8/App/cpanminus/script.pm line 1134. It appears that cpanminus does not like the '>0' syntax used in the requires key. I checked out the Module::Build docs and though '>0' does not seem to be prohibited, a straight '0' seems to be the preferred way of expressing it. Attached is a patch that removes the '>' from the version strings. With this patch, FinBin::libs installed successfully on my system. Thank you for your work on this module and have a great day! Cheers, Fitz Elliott
Subject: fix_build_pl_requires_versions.patch
diff --git a/Build.PL b/Build.PL index 7f4a15b..c716288 100644 --- a/Build.PL +++ b/Build.PL @@ -42,14 +42,14 @@ my @build_argz = { qw ( - strict >0 + strict 0 - Carp >0 - Cwd >0 - FindBin >0 - Symbol >0 - File::Spec >0 - Test::More >0 + Carp 0 + Cwd 0 + FindBin 0 + Symbol 0 + File::Spec 0 + Test::More 0 ) },
Show quoted text
> seems to be the preferred way of expressing it. Attached is a patch > that removes the '>' from > the version strings. With this patch, FinBin::libs installed > successfully on my system. > > Thank you for your work on this module and have a great day!
Thanks for the feedback -- nice to know someone uses the thing. Odd, I tried the zeros and didn't get through the first time. I've updated the Build.PL, see if this works.
Subject: FindBin-libs-1.64.tar.gz
Download FindBin-libs-1.64.tar.gz
application/x-gzip 19.1k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #75597] failure to install under cpanminus
Date: Thu, 8 Mar 2012 16:44:48 -0500
To: bug-FindBin-libs [...] rt.cpan.org
From: Fitz Elliott <felliott [...] virginia.edu>
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=75597 > > > Thanks for the feedback -- nice to know someone uses the thing. > Odd, I tried the zeros and didn't get through the first time. > > I've updated the Build.PL, see if this works. > <FindBin-libs-1.64.tar.gz>
I just tried it and it worked perfectly. Thanks! Cheers, Fitz
Thanks for the feedback. If you hadn't raised the issue I'd never have known about it :-)