简体   繁体   English

如何运行“ Build installdeps”以安装缺少的先决条件

[英]how to Run 'Build installdeps' to install missing prerequisites

Trying to run a Build.PL file and get following, and not uncommon error message: 尝试运行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.

however when I run: 但是当我运行时:

perl Build installdeps 

I get: 我得到:

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

anyone have any ideas of what I'm doing wrong here? 有人对我在这里做错什么有任何想法吗?

Build is a script that is generated after you run perl Build.PL . Build是运行perl Build.PL之后Build的脚本。 You can execute it without Perl. 您可以在没有Perl的情况下执行它。

Just run: 赶紧跑:

Build installdeps

Or (depending on your OS): 或(取决于您的操作系统):

./Build installdeps

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM