无法使用CPAN安装/升级软件包

时间:2013-02-07 09:48:56

标签: perl cpan

我尝试使用CPAN安装一些模块,但它会为每个模块提供以下错误。

CPAN installation problem " Package contains both files[bignum-0.30.tar] and directories[bignum-0.30]; not recognized as a perl package, giving up, won't make".
Untarred RRD-Simple-1.44.tar successfully
Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up
  Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up, won't make
Running Untarred RRD-Simple-1.44.tar successfully
Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up
  Package contains both files[RRD-Simple-1.44.tar] and directories[RRD-Simple-1.44]; not recognized as a perl package, giving up, won't make
Running make test
  Make had some problems, won't test.

虽然它在几天前工作了。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:2)

我遇到了同样的问题。 删除~/.cpan/CPAN/MyConfig.pm并重新配置cpan(#cpan> o conf init )有助于