Skip Menu |

This queue is for tickets about the Class-DBI-Pg CPAN distribution.

Report information
The Basics
Id: 56880
Status: open
Priority: 0/
Queue: Class-DBI-Pg

People
Owner: Nobody in particular
Requestors: ansgar [...] 43-1.org
Cc:
AdminCc:

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



Subject: [PATCH] Makefile.PL fixes for perl 5.12.0
Date: Sat, 24 Apr 2010 16:44:45 +0900
To: bug-Class-DBI-Pg [...] rt.cpan.org
From: Ansgar Burchardt <ansgar [...] 43-1.org>
Hi, Class-DBI-Pg fails to build with perl 5.12.0: Invalid version format (non-numeric data) at /usr/share/perl/5.12/ExtUtils/MakeMaker.pm line 467. This is due to the presence of comparison operators for required module versions in Makefile.PL. The attached patch was introduced in Debian to fix this problem. It also adds 'NAME' => 'Class::DBI::Pg' as there was a warning about this. Please consider applying it in the next release. Regards, Ansgar
From: Ansgar Burchardt <ansgar@43-1.org> Date: Sat, 24 Apr 2010 16:30:52 +0900 Bug-Debian: http://bugs.debian.org/578990 Origin: vendor Subject: Fix error in Makefile.PL --- libclass-dbi-pg-perl.orig/Makefile.PL +++ libclass-dbi-pg-perl/Makefile.PL @@ -2,11 +2,12 @@ use ExtUtils::MakeMaker; WriteMakefile ( + 'NAME' => 'Class::DBI::Pg', 'DISTNAME' => 'Class-DBI-Pg', 'VERSION_FROM' => 'lib/Class/DBI/Pg.pm', 'PREREQ_PM' => { - 'Class::DBI' => '>= 0.89', - 'DBD::Pg' => '>= 1.13', + 'Class::DBI' => '0.89', + 'DBD::Pg' => '1.13', 'Test::More' => '0' }, 'INSTALLDIRS' => 'site',
From: mmaslano [...] redhat.com
On Sat Apr 24 03:45:02 2010, ansgar@43-1.org wrote: Show quoted text
> Hi, > > Class-DBI-Pg fails to build with perl 5.12.0: > > Invalid version format (non-numeric data) at > /usr/share/perl/5.12/ExtUtils/MakeMaker.pm line 467. > > This is due to the presence of comparison operators for required module > versions in Makefile.PL. > > The attached patch was introduced in Debian to fix this problem. It > also adds 'NAME' => 'Class::DBI::Pg' as there was a warning about this. > Please consider applying it in the next release. > > Regards, > Ansgar
I had the same problem in latest Fedora, but I solved it by use of Build.PL instead of Makefile.PL.