【发布时间】:2013-04-24 17:19:53
【问题描述】:
我正在尝试运行 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 .) 在 -e 行1.
BEGIN failed--编译在 -e line 1.enter code here中止
同样将 cpan 配置为以 root 身份安装,然后安装 Test::Most 没有任何区别。这么大惊小怪!
【问题讨论】:
-
perl Build.PL \n Can't locate Bio/Root/Build.pm in @INC...我想我需要 bioperl 才能使用它? -
啊,我明白了,有一个单独且未记录的 Bio-Root 存储库。 :-/