如何在Cygwin上为Perl"使用诊断"?

Chl*_*loe 3 perl cpan

我想安装DBD::AnyData哪个需要SQL::Statement哪个Math::Base::Convert.但是,它给了我这个错误

$ cpan install Math::Base::Convert
...
t/overload.t .............. couldn't find diagnostic data in /usr/lib/perl5/5.22/pods/perldiag.pod /home/Chloe/.cpan/build/Math-Base-Convert-0.11-EySfLp/blib/lib /home/Chloe/.cpan/build/Math-Base-Convert-0.11-EySfLp/blib/arch /usr/lib/perl5/site_perl/5.22/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.22 /usr/lib/perl5/vendor_perl/5.22/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.22 /usr/lib/perl5/5.22/i686-cygwin-threads-64int /usr/lib/perl5/5.22 . t/overload.t at /usr/lib/perl5/5.22/diagnostics.pm line 259, <POD_DIAG> line 704.
Compilation failed in require at t/overload.t line 1.
BEGIN failed--compilation aborted at t/overload.t line 1.
t/overload.t .............. Dubious, test returned 2 (wstat 512, 0x200)

Test Summary Report
-------------------
t/overload.t            (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=20, Tests=5327,  2 wallclock secs ( 0.28 usr  0.01 sys +  0.76 cusr  0.42 csys =  1.48 CPU)
Result: FAIL
Failed 1/20 test programs. 0/5327 subtests failed.
Makefile:859: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
  MIKER/Math-Base-Convert-0.11.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MIKER/Math-Base-Convert-0.11.tar.gz
Run Code Online (Sandbox Code Playgroud)

我已经跑了cpan -u.

CPAN版本1.61,Perl 5.22.0

hob*_*bbs 10

diagnostics模块获取来自perldoc文件的消息的解释perldiag.pod.这两者都是perl的核心部分,但是一些打包系统选择在单独的包中分发文档,即使在perl中也可能不安装.在Cygwin的情况下,这个包是perl_pods.安装该软件包应该使diagnostics模块正常工作.