无法在Windows上安装LWP :: Parallel :: UserAgent(Strawberry Perl)

时间:2018-05-16 16:04:34

标签: perl cpan

当我尝试在Windows上使用CPAN安装LWP :: Parallel :: UserAgent时(Strawberry Perl v5.16.3),我收到以下错误。我认为可能不仅仅是我,因为reports MSOUTH/ParallelUserAgent-2.62.tgz表明它在Windows上的大多数/所有CPAN测试人员都失败了。

但是,它似乎应该是一个容易解决的问题。问题是无法找到TAP :: Formatter :: Console。我实际安装了这个模块,但是安装程序使用的是错误的@INC。它将../添加到绝对路径,例如../C:/berrybrew/5.16.3_64/perl/site/lib。如果它停止这样做,我认为它可能会奏效。知道怎么做/以其他方式解决这个问题吗?

(编辑:或许,问题可能是Test :: Harness.pm中没有use TAP::Harness。但我已经安装了大量其他CPAN模块而没有问题。)

cpan> install LWP::Parallel::UserAgent
Database was generated on Tue, 15 May 2018 19:43:39 GMT
Running install for module 'LWP::Parallel::UserAgent'
Running make for M/MS/MSOUTH/ParallelUserAgent-2.62.tgz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/M/MS/MSOUTH/ParallelUserAgent-2.62.tgz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/M/MS/MSOUTH/CHECKSUMS
Checksum for C:\berrybrew\5.16.3_64\cpan\sources\authors\id\M\MS\MSOUTH\ParallelUserAgent-2.62.tgz ok
Scanning cache C:\berrybrew\5.16.3_64\cpan\build for sizes
............................................................................DONE

  CPAN.pm: Building M/MS/MSOUTH/ParallelUserAgent-2.62.tgz

Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for LWP::Parallel
Writing MYMETA.yml and MYMETA.json
cp lib/LWP/Parallel/Protocol/http.pm blib\lib\LWP\Parallel\Protocol\http.pm
cp lib/LWP/Parallel/Protocol/https.pm blib\lib\LWP\Parallel\Protocol\https.pm
cp lib/LWP/RobotPUA.pm blib\lib\LWP\RobotPUA.pm
cp lib/LWP/Parallel/UserAgent.pm blib\lib\LWP\Parallel\UserAgent.pm
cp lib/LWP/Parallel/Protocol/ftp.pm blib\lib\LWP\Parallel\Protocol\ftp.pm
cp lib/LWP/Parallel/Protocol/file.pm blib\lib\LWP\Parallel\Protocol\file.pm
cp lib/Bundle/ParallelUA.pm blib\lib\Bundle\ParallelUA.pm
cp lib/LWP/ParallelUA.pm blib\lib\LWP\ParallelUA.pm
cp lib/LWP/Parallel/Protocol.pm blib\lib\LWP\Parallel\Protocol.pm
cp lib/LWP/Parallel/RobotUA.pm blib\lib\LWP\Parallel\RobotUA.pm
cp lib/LWP/Parallel.pm blib\lib\LWP\Parallel.pm
  MSOUTH/ParallelUserAgent-2.62.tgz
  C:\berrybrew\5.16.3_64\c\bin\dmake.exe -- OK
Running make test
"C:\berrybrew\5.16.3_64\perl\bin\perl.exe" t/TEST
Can't load TAP::Formatter::Console: Can't locate TAP/Formatter/Console.pm in @INC (@INC contains: ../blib/lib ../blib/arch ../C:/berrybrew/5.16.3_64/perl/site/lib ../C:/berrybrew/5.16.3_64/perl/vendor/lib ../C:/berrybrew/5.16.3_64/perl/lib
../.) at (eval 30) line 2.
 at C:/berrybrew/5.16.3_64/perl/site/lib/Test/Harness.pm line 251.
dmake.exe:  Error code 130, while making 'test'
  MSOUTH/ParallelUserAgent-2.62.tgz
  C:\berrybrew\5.16.3_64\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MSOUTH/ParallelUserAgent-2.62.tgz
Running make install
  make test had returned bad status, won't install without force
Stopping: 'install' failed for 'LWP::Parallel::UserAgent'.
Failed during this command:
 MSOUTH/ParallelUserAgent-2.62.tgz            : make_test NO

0 个答案:

没有答案