Reputation: 11
When I build perl use microsoft vc2017, I got an error :
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.
What can I do?
Upvotes: 1
Views: 166
Reputation: 5962
This seems to be a bug in the Windows SDK, see
The Perl bug reporter confirmed that the bug went away after updating the SDK. Another alternative seems to be to switch from a CFG=DebugFull
to a CFG=Debug
build.
Upvotes: 2