【发布时间】:2023-03-06 05:49:01
【问题描述】:
您好,我正在尝试在我的 Windows 机器中从 cpan 安装 perl 模块,在点击两次是后出现以下错误。
Checking if your kit is complete...
Warning: the following files are missing in your kit:
README
Please inform the author.
Writing Makefile for Digest::Perl::MD5
'nmake' is not recognized as an internal or external command,
operable program or batch file.
nmake -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running make for D/DO/DOUGW/Spreadsheet-ParseExcel-0.65.tar.gz
Is already unwrapped into directory C:\Perl\cpan\build\Spreadsheet-ParseExcel
0.65
CPAN.pm: Going to build D/DO/DOUGW/Spreadsheet-ParseExcel-0.65.tar.gz
'nmake' is not recognized as an internal or external command,
operable program or batch file.
nmake -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
>perl exceltoxml.pl
Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: C:/Perl/site/lib
C:/Perl/lib .) at exceltoxml.pl line 4.
BEGIN failed--compilation aborted at exceltoxml.pl line 4.
我已经尝试了 5 次。
【问题讨论】:
-
您没有安装
nmake程序。 -
嗨,你能帮我如何安装nmake程序
-
您使用的是哪个 Perl 发行版?如果使用 ActiveState,则需要安装 MinGW:
ppm install mingw。如果您确实想使用 Visual C 工具,可以安装 MS Visual Studio 2013 Community Edition 并构建自己的perl。
标签: perl perl-module cpan