安装perl模块Class-Load-XS

前端之家收集整理的这篇文章主要介绍了安装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

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

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

猜你在找的Perl相关文章