perl建议我在安装ExtUtils::Manifest时安装ExtUtils::Manifest。
操作系统是Win10,perl的版本是strawberry-perl-5.24.4.1-64bit.msi。
我得到的详细信息如下:
>C:\Users\username>cpanm ExtUtils::Manifest
--> Working on ExtUtils::Manifest
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/ExtUtils-Manifest-1.72.tar.gz ... OK
==> Found dependencies: ExtUtils::MakeMaker
--> Working on ExtUtils::MakeMaker
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.44.tar.gz ... OK
Configuring ExtUtils-MakeMaker-7.44 ... OK
Can't locate ExtUtils/Manifest.pm in @INC (you may need to install the ExtUtils::Manifest module) (@INC contains: FatPacked::25770454720=HASH(0x60009eec0) /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /c/Strawberry/perl/bin/cpanm line 119.发布于 2020-04-02 14:40:11
清单和ExtUtils::MakeMaker都是关键的Perl构建工具。它们通常与Perl捆绑在一起。他们有一个循环依赖,所以MakeMaker bundles ExtUtils::Manifest and other modules in its source distribution。如果您缺少ExtUtils::Manifest,MakeMaker应该已经使用了它的捆绑版本。
查看its build file,它尝试将ExtUtils::Manifest作为依赖项安装的唯一方式是设置了BUILDING_AS_PACKAGE环境变量,或者如果使用--release运行Makefile.PL。两者都不应该是这样的。
检查该环境变量。
https://stackoverflow.com/questions/60985282
复制相似问题