【问题标题】:Can't install/upgrade packages with CPAN无法使用 CPAN 安装/升级软件包
【发布时间】:2013-05-16 17:36:38
【问题描述】:

我尝试使用 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.

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

【问题讨论】:

  • 你做了什么? (您尝试执行的命令)?

标签: perl cpan


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2019-07-20
    • 2018-10-26
    • 2019-04-09
    • 1970-01-01
    • 1970-01-01
    • 2020-09-30
    • 1970-01-01
    • 2020-08-14
    • 2019-04-21
    相关资源
    最近更新 更多