我正在尝试运行 bioperl-live 包,并且我已经 git 克隆了以下 repo
git clone https://github.com/bioperl/bioperl-live.git
并 cd 到 bio-perl live 的安装位置。然后我尝试运行:
perl Build.PL
我回来了:
Checking prerequisites...
build_requires:
! Test::Most is not installed
所以我打开了一个 cpan shell,当我从 cpan 运行时:
cpan>install Test::Most
并重复构建我得到同样的错误。有人介意克隆上面的 git repo(如果你想检查自己,可以在https://github.com/bioperl/bioperl-live找到),如果你遇到同样的问题,请告诉我。
请注意,其他包中的其他 Build.PL 文件不会发生这种情况 - 它运行良好。那个 git repo 中一定有一些损坏/丢失的东西。
谢谢
更新 - 当我运行 perl -wle 'use Test::Most'
我得到:
无法在 @INC 中找到 Test/Most.pm(@INC 包含:/home/arron/src/bioperl-live /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/ perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at -e line 1. BEGIN failed——编译在 -e line 1 处中止。enter code here
还将 cpan 配置为以 root 身份安装,然后安装 Test::Most 没有区别。这么大惊小怪!