4

尝试运行 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

有人知道我在这里做错了什么吗?

4

1 回答 1

6

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

赶紧跑:

Build installdeps

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

./Build installdeps
于 2013-04-24T02:09:25.043 回答