Skip Menu |

This queue is for tickets about the Tree-BPTree CPAN distribution.

Report information
The Basics
Id: 31831
Status: resolved
Priority: 0/
Queue: Tree-BPTree

People
Owner: hanenkamp [...] cpan.org
Requestors: gyles19 [...] visi.com
Cc:
AdminCc:

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



Subject: Refuses to build on perl 5.8.8 - perl version issue in Build.PL
Linux, perl 5.8.8, cpan (not cpanplus), attempts to install Tree::BPTree fail claiming the perl version is too old, when, in fact, it's higher than the version specified in the Build.PL file. This looks like that version format issue discussed in 'use version' (Extended versions vs numeric versions.) Altering Build.PL from this: use 5.008; use strict; use Module::Build; my $build = Module::Build->new( module_name => 'Tree::BPTree', license => 'perl', requires => { 'perl' => '5.8', }, ); to this: my $build = Module::Build->new( module_name => 'Tree::BPTree', license => 'perl', requires => { 'perl' => '5.008', }, ); allows Tree::BPTree to build, test, and install on my system. # perl --version This is perl, v5.8.8 built for i386-linux ... # uname -q Linux falcon 2.4.24-emp_2424sw #1 Fri Feb 20 17:08:05 EST 2004 i686 unknown Here is the failure message out of cpan: cpan[4]> install Tree::BPTree Running install for module 'Tree::BPTree' Running make for H/HA/HANENKAMP/Tree-BPTree/Tree-BPTree-1.07.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for /root/.cpan/sources/authors/id/H/HA/HANENKAMP/Tree-BPTree/ Tree-BPTree-1.07.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................................................DONE Tree-BPTree-1.07/ Tree-BPTree-1.07/benchmark.pl Tree-BPTree-1.07/Build.PL Tree-BPTree-1.07/Changes Tree-BPTree-1.07/lib/ Tree-BPTree-1.07/lib/Tree/ Tree-BPTree-1.07/lib/Tree/BPTree.pm Tree-BPTree-1.07/MANIFEST Tree-BPTree-1.07/META.yml Tree-BPTree-1.07/prof.pl Tree-BPTree-1.07/README Tree-BPTree-1.07/t/ Tree-BPTree-1.07/t/cursor_delete.t Tree-BPTree-1.07/t/cursors.t Tree-BPTree-1.07/t/delete.t Tree-BPTree-1.07/t/each.t Tree-BPTree-1.07/t/find.t Tree-BPTree-1.07/t/grep.t Tree-BPTree-1.07/t/insert.t Tree-BPTree-1.07/t/iterate.t Tree-BPTree-1.07/t/lists.t Tree-BPTree-1.07/t/map.t Tree-BPTree-1.07/t/reverse.t Tree-BPTree-1.07/t/reverse_find.t Tree-BPTree-1.07/t/runtests.pl Tree-BPTree-1.07/try.pl CPAN: File::Temp loaded ok (v0.19) CPAN: YAML loaded ok (v0.66) CPAN: Time::HiRes loaded ok (v1.9711) CPAN.pm: Going to build H/HA/HANENKAMP/Tree-BPTree/Tree-BPTree- 1.07.tar.gz Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Tree-BPTree' version '1.07' CPAN: Module::Build loaded ok (v0.2808) HANENKAMP/Tree-BPTree/Tree-BPTree-1.07.tar.gz requires perl '5.8'; you have only 5.008008; giving up HANENKAMP/Tree-BPTree/Tree-BPTree-1.07.tar.gz [prereq] -- NOT OK Running Build test Can't test without successful make Running Build install Make had returned bad status, install seems impossible Failed during this command: HANENKAMP/Tree-BPTree/Tree-BPTree-1.07.tar.gz: make NO requires perl '5.8'
I've updated Tree::BPTree to use Module::Install and corrected the way the Perl requirement is set so that it should work. Thanks for the report!