在 XAMPP for Windows 上从 CPAN 安装 perl 模块 [英] Installing a perl module from CPAN on XAMPP for Windows
问题描述
我对 Perl 很生疏,我认为在 Windows 中运行它并没有帮助.
I'm pretty rusty with Perl and I don't think it's helping that I'm running it in Windows.
我想安装 这个 模块.我尝试了此处的说明来安装 CPAN 模块,但尝试安装 App::cpanminus 失败(第一步.)我尝试运行 cpan Config::Simple
,它也没有工作.在这两种情况下,它都会失败并显示以下错误消息:
I'd like to install this module. I tried the instructions here to install a CPAN module, but it fails trying to install App::cpanminus (the very first step.) I tried just running cpan Config::Simple
and it didn't work either. In both situations, it fails with this error message:
Unwrapping had some problem, won't try again without force
Had problems unarchiving. Please build manually
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
CPAN 是否不能在随 XAMPP 一起安装的 Perl 版本中工作?如果是这样,我如何在不破坏任何东西的情况下升级它?
Does CPAN just not work from the version of Perl that's installed with XAMPP? If so, how do I upgrade it without breaking anything?
推荐答案
- 手动下载并解压发行版存档
- 进入解压目录
- 运行
cpanm .
或cpan .
这篇关于在 XAMPP for Windows 上从 CPAN 安装 perl 模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!