如何运行“ Build installdeps”以安装缺少的先决条件 [英] how to Run 'Build installdeps' to install missing prerequisites
本文介绍了如何运行“ Build installdeps”以安装缺少的先决条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试运行Build.PL文件并获取以下消息,而不是罕见的错误消息:
Trying to run a Build.PL file and get following, and not uncommon error message:
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
有人对我在这里做错什么有任何想法吗?
anyone have any ideas of what I'm doing wrong here?
推荐答案
Build
是运行 perl Build.PL
后生成的脚本。您可以在没有Perl的情况下执行它。
Build
is a script that is generated after you run perl Build.PL
. You can execute it without Perl.
只需运行:
Build installdeps
或者(取决于您的操作系统):
Or (depending on your OS):
./Build installdeps
这篇关于如何运行“ Build installdeps”以安装缺少的先决条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文