bioperl插件安装报错记录

$ perl -MCPAN -e shell
cpan[1]> install Bio::SeqIO

#此处报错
Running install for module 'Bio::SeqIO'
Running make for C/CJ/CJFIELDS/BioPerl-1.7.8.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/BioPerl-1.7.8-V5bXpY

  CPAN.pm: Building C/CJ/CJFIELDS/BioPerl-1.7.8.tar.gz

Warning: Prerequisite 'Graph::Directed => 0' for 'C/CJ/CJFIELDS/BioPerl-1.7.8.tar.gz' seems not available according to the indices
---- Unsatisfied dependencies detected during ----
----       CJFIELDS/BioPerl-1.7.8.tar.gz      ----
    Test::Most [requires]
    XML::Writer [requires]
    Test::Weaken [build_requires]
    XML::SAX::Writer [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Test::Most'
Running make for O/OV/OVID/Test-Most-0.37.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Test-Most-0.37-yU8T9C

  CPAN.pm: Building O/OV/OVID/Test-Most-0.37.tar.gz

---- Unsatisfied dependencies detected during ----
----        OVID/Test-Most-0.37.tar.gz        ----
    Test::Differences [requires]
    Test::Warn [requires]
    Test::Exception [requires]
    Exception::Class [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Test::Differences'
Running make for D/DC/DCANTRELL/Test-Differences-0.67.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Test-Differences-0.67-jgdfdH

  CPAN.pm: Building D/DC/DCANTRELL/Test-Differences-0.67.tar.gz

---- Unsatisfied dependencies detected during ----
----  DCANTRELL/Test-Differences-0.67.tar.gz  ----
    Text::Diff [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Text::Diff'
Running make for N/NE/NEILB/Text-Diff-1.45.tar.gz
Fetching with LWP:
http://cpan.mirror.cdnetworks.com/authors/id/N/NE/NEILB/CHECKSUMS
Catching error: "Transfer truncated: only 68374 out of 107173 bytes received\cJ" at /usr/share/perl5/CPAN.pm line 392.
	CPAN::shell() called at -e line 1


尝试解决

rm -f ~/.cpan/sources/modules/02packages.details.txt.gz 
rm -f ~/.cpan/sources/modules/03modlist.data.gz

cpan[2]> install Bio::SeqIO

Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 CJFIELDS/BioPerl-1.7.8.tar.gz                : make_test NO one dependency not OK (Graph::Directed); additionally test harness failed


上一篇:UCOS-III系统概述


下一篇:java 线程池实现原理