|
From: Flemming B. <fl...@bj...> - 2011-03-10 05:30:23
|
There was a bug in a Perl module under installation of slashcode 2.5.2 (on a debian squeeze stable). > install Bundle::Slash ...... /usr/bin/perl t/TEST local/compatibility.t .. Can't locate object method "parse_head" via package "LWP::Parallel::Protocol::http" at ../blib/lib/LWP/Parallel/UserAgent.pm line 1497, <DAEMON> line 1. Missing base argument at local/compatibility.t line 57 ..... ..... MARCLANG/ParallelUserAgent-2.57.tar.gz /usr/bin/make test -- NOT OK ............... The bug is described here, where you also find a patch: http://rt.cpan.org/Public/Bug/Display.html?id=40261 To fix it, the module ParallelUserAgent must be downloaded: http://cpan.uwinnipeg.ca/cpan/authors/id/M/MA/MARCLANG/ParallelUserAgent-2.57.tar.gz After unpacking, line 1496 in UserAgent.pm should be changed from: $protocol->parse_head($parse_head); to: $protocol->can('parse_head') ? $protocol->parse_head($parse_head) : $protocol->_elem('parse_head', $parse_head); Then compile and install the ParallelUserAgent module as describes in README. Finally, you can go back to the perl prompt and run again: > install Bundle::Slash and no errors should come out. Flemming |