使用vs2017 build perl

时间:2019-02-22 14:31:55

标签: perl visual-studio-2017

当我使用Microsoft vc2017构建perl时,出现错误:

Running pm_to_blib for cpan/Module-Load-Conditional directly
Running pm_to_blib for cpan/Module-Loaded directly
Running pm_to_blib for cpan/NEXT directly
Running pm_to_blib for dist/Net-Ping directly
Running pm_to_blib for cpan/Params-Check directly
Running pm_to_blib for cpan/Perl-OSType directly
Running pm_to_blib for cpan/PerlIO-via-QuotedPrint directly
Can't copy p to scripts/p: No such file or directory at Makefile.PL line 26.
Unsuccessful Makefile.PL(cpan/Pod-Checker): code=512 at ..\make_ext.pl line 
518.
NMAKE : fatal error U1077: “..\miniperl.exe”: 返回代码 (return code)“0x2”
Stop.

我该怎么办?

1 个答案:

答案 0 :(得分:2)

这似乎是Windows SDK中的错误,请参见

Perl错误报告者确认,更新SDK之后,该错误消失了。另一个替代方法似乎是从CFG=DebugFull切换到CFG=Debug构建。