我尝试安装模块 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 'use 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 - 安装 perl 模块 Class-Load-XS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9985763/