微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

安装perl模块Class-Load-XS

我尝试手动安装模块Class-Load-XS-0.04.我看到以下错误

$perl Build.PL
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration,but compilation may fail during Build

然而,执行perl -e’使用ExtUtils :: CBuilder’非常好.我甚至尝试重新安装ExtUtils :: CBuilder,但它仍然无法正常工作.

能否请你帮忙?

解决方法

我尝试使用Win 7机器,当我执行perl Build.pl时,它会显示一些类似的警告:

collect2: ld returned 1 exit status
Checking prerequisites...
  requires:
    !  Class::Load is not installed
  build_requires:
    !  Class::Load is not installed
    !  Module::Implementation is not installed
    !  Test::Fatal is not installed
    !  Test::Requires is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

然后我安装了上面提到的模块,然后事情就好了.

您可以先尝试安装这些模块.希望能帮助到你.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐