无法在babun中安装cpanm模块

时间:2015-10-06 15:25:05

标签: perl cygwin perl-module cpanm

我通常在Windows中使用babun作为命令行,试图复制我以前在Mac或Ubuntu中使用终端的方式。

我正在尝试安装一个名为XML :: TMX的perl模块,但我反复得到一个失败。这就是我的工作:

» cpanm --force XML::TMX
--> Working on XML::TMX
Fetching http://www.cpan.org/authors/id/A/AM/AMBS/XML-TMX-0.28.tar.gz ... OK
==> Found dependencies: ExtUtils::MakeMaker
--> Working on ExtUtils::MakeMaker
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.10.tar.gz ... OK
Configuring ExtUtils-MakeMaker-7.10 ... OK
Building ExtUtils-MakeMaker-7.10 ... OK
Successfully installed ExtUtils-MakeMaker-7.10 (upgraded from 6.57_05)
Configuring XML-TMX-0.28 ... OK
==> Found dependencies: XML::DT
--> Working on XML::DT
Fetching http://www.cpan.org/authors/id/A/AM/AMBS/XML-DT-0.68.tar.gz ... OK
==> Found dependencies: ExtUtils::MakeMaker
Configuring XML-DT-0.68 ... OK
Building and testing XML-DT-0.68 ... FAIL
! Testing XML-DT-0.68 failed but installing it anyway.
Successfully installed XML-DT-0.68
! Installing the dependencies failed: Module 'XML::DT' is not installed
! Bailing out the installation for XML-TMX-0.28.
2 distributions installed

我不知道为什么会发生这种情况,事实上我不知道这是做什么的 - 一方面它说"成功安装了XML-DT"另一方面,它后来说" XML :: DT没有安装"。

我会感激任何建议。我该如何安装这个模块?

0 个答案:

没有答案