Subject: | Can't install Devel::ebug from CPAN |
Hello,
I use a debian unstable with perl 5.8.7 installed. I use the CPAN module like this :
perl -MCPAN -e shell
and then enter the following command line :
force install Devel::ebug
Many modules install (many of them have tests that fail) and, at some point in time, I get this output :
# BEGIN failed--compilation aborted at (eval 3) line 2.
Can't locate object method "new" via package "WWW::Mechanize" at t/link-relative.t line 13.
# Looks like you planned 6 tests but only ran 1.
# Looks like your test died just after 1.
t/link-relative.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/link..................ok
t/local/back............NOK 1
# Failed test (t/local/back.t at line 20)
# Tried to use 'WWW::Mechanize'.
# Error: Can't locate HTML/TokeParser.pm in @INC (@INC contains: t/local /home/jgilli/.cpan/build/WWW-Mechanize-1.12/blib/lib /home/jgilli/.cpan/build/WWW-Mechanize-1.12/blib/arch /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/jgilli/.cpan/build/WWW-Mechanize-1.12/blib/lib/WWW/Mechanize.pm line 101.
# BEGIN failed--compilation aborted at t/local/back.t line 20.
# Compilation failed in require at (eval 12) line 2.
# BEGIN failed--compilation aborted at (eval 12) line 2.
Can't locate object method "new" via package "WWW::Mechanize" at t/local/back.t line 26.
Use of uninitialized value in kill at t/local/back.t line 134.
Processus arrĂȘtĂ©
Apparently, the HTML::TokeParser.pm has not been installed yet at this very moment because :
jgilli@soulfuric:/tmp/idxpki-v1.9.0$ sudo updatedb
jgilli@soulfuric:/tmp/idxpki-v1.9.0$ locate TokeParser.pm
/home/jgilli/.cpan/build/HTML-Parser-3.45/blib/lib/HTML/TokeParser.pm
/home/jgilli/.cpan/build/HTML-Parser-3.45/lib/HTML/TokeParser.pm
Here is the detailed version number of my Perl installation :
jgilli@soulfuric:/tmp/idxpki-v1.9.0$ perl -v
This is perl, v5.8.7 built for i486-linux-gnu-thread-multi
Copyright 1987-2005, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
jgilli@soulfuric:/tmp/idxpki-v1.9.0$
Do you have an idea about what may go wrong ?
Thank you very mich for your attention !