我尝试使用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.
虽然它在几天前工作了。任何帮助将不胜感激。
答案 0 :(得分:2)
我遇到了同样的问题。
删除~/.cpan/CPAN/MyConfig.pm
并重新配置cpan(#cpan> o conf init
)有助于