问题
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