Skip Menu |

This queue is for tickets about the XML-GDOME CPAN distribution.

Report information
The Basics
Id: 16009
Status: new
Priority: 0/
Queue: XML-GDOME

People
Owner: Nobody in particular
Requestors: mcummings [...] gentoo.org
Cc:
AdminCc:

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



Subject: Incomplete version check in Makefile.PL
The logic in the Makefile.PL assumes that you will get back a place (major, minor, point) version for gdome - but currently, you get back 0.19, which is certainly greater than the >=0.7.2 tested for, but which fails the Makefile.PL version test. Below is a dirty patch to first break major and minor, then if necessary break minor and point. --- Makefile.PL.bak 2005-11-21 13:24:06.000000000 -0500 +++ Makefile.PL 2005-11-21 13:28:04.000000000 -0500 @@ -16,7 +16,11 @@ my $DEBUG = delete $config{DEBUG}; eval { print "running gdome-config... "; my $ver = backtick('gdome-config --version'); - my ($major, $minor, $point) = $ver =~ /(\d+).(\d+)\.(\d+)/g; + my $point =0; + my ($major, $minor) = $ver =~ /(\d+)\.(\d+)/g; + if ($minor =~ m/\./) { + ($minor,$point) = $minor =~ /(\d+)\.(\d+)/g; + } die "VERSION" unless $major == 0 && (($minor == 7 && $point >= 2) || ($minor >= 8)); $config{LIBS} ||= backtick('gdome-config --libs');