如何运行“构建installdeps”来安装缺少的先决条件

时间:2013-04-23 20:24:55

标签: perl cpan bioperl

尝试运行Build.PL文件并获取以下内容,而不是非常见的错误消息:

Checking prerequisites...
  build_requires:
    !  Test::Most is not installed
  recommends:
    *  HTML::TableExtract is not installed
    *  Math::Random is not installed
    *  YAML is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

然而,当我跑步时:

perl Build installdeps 

我明白了:

Can't open perl script "Build": No such file or directory

任何人对我在这里做错了什么有任何想法?

1 个答案:

答案 0 :(得分:5)

Build是运行perl Build.PL后生成的脚本。你可以在没有Perl的情况下执行它。

跑步:

Build installdeps

或(取决于您的操作系统):

./Build installdeps