【发布时间】:2018-04-12 00:03:08
【问题描述】:
当我尝试这样做时:cpan install GnuPG::Interface 在 Strawberry 或 Activeperl ( windows ) 我得到这个错误: 我使用最后一个可用的 perl 版本 5.26.1.1
CPAN: File::Temp loaded ok (v0.2304)
CPAN: YAML::XS loaded ok (v0.66)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20170821)
Configuring A/AL/ALEXMV/GnuPG-Interface-0.52.tar.gz with Makefile.PL
which gpg ... 'which' is not recognized as an internal or external command,
operable program or batch file.
gpg (GnuPG) not found at Makefile.PL line 7.
Warning: No success on command[C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=si
te]
ALEXMV/GnuPG-Interface-0.52.tar.gz
C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK
任何提示?我实际上正在尝试安装 Mail::GnuPG 但 GnuPG::Interface 是必需的。 谢谢你
【问题讨论】:
-
我自己没有尝试过,但认为通过在cygwin.org 或mingw.org 上安装 perl 和 GnuPG::Interface 你有更好的机会你收到的错误消息暗示它需要@987654324 @ 和
gpg命令。 -
我使用了 cygwin,它编译正确。谢谢。