开发者

Perl getting "can't locate error" trying to use IO::prompt

开发者 https://www.devze.com 2023-02-16 07:42 出处:网络
C:\\sample\\ss>perl dd_tsys.pl Can\'t locate IO/prompt.pm in @INC (@INC contains: C:/strawberry/perl/lib C:/stra
C:\sample\ss>perl dd_tsys.pl
Can't locate IO/prompt.pm in @INC (@INC contains: C:/strawberry/perl/lib C:/stra
wberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at dd_tsys.pl line 8.
BEGIN failed--compilation aborted at dd_tsys.pl line 8.

I insta开发者_如何学JAVAlled the io::pack, but when I try to use the IO::prompt, it saying the above error,

Here are my installation steps I followed, check it out.


Perl is case-sensitive; the module is IO::Prompt.

Additionally, your build log shows:

Test Summary Report
-------------------
t\01.dependencies.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=4, Tests=3, 1 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU)
Result: FAIL
Failed 1/4 test programs. 2/3 subtests failed.
DCONWAY/IO-Prompt-0.997001.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DCONWAY/IO-Prompt-0.997001.tar.gz
Running Build install
make test had returned bad status, won't install without force
Failed during this command:
DCONWAY/IO-Prompt-0.997001.tar.gz : make_test NO

So, the module was not installed, which is the rest of the reason it is not found.

0

精彩评论

暂无评论...
验证码 换一张
取 消