how to Run 'Build installdeps' to install missing prerequisites

让人想犯罪 __ 提交于 2019-12-23 13:56:29

问题


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.

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?


回答1:


Build is a script that is generated after you run perl Build.PL. You can execute it without Perl.

Just run:

Build installdeps

Or (depending on your OS):

./Build installdeps


来源:https://stackoverflow.com/questions/16178522/how-to-run-build-installdeps-to-install-missing-prerequisites

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!