perl - 安装 perl 模块 Class-Load-XS

标签 perl

我尝试安装模块 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/

相关文章:

perl - 避免在命令行输入密码(sudo)

c++ - 将 Perl 移植到 C++ `print "\x{2501 }"x 12;`

bash - 将 perl while 循环更改为 shell

python - Python 中这两行 Perl 的等价物?

perl - 模块安装成功但找不到

regex - 将字符串与 perl 中的模式对齐?

regex - 如何使用 Perl 匹配 Unicode 文本中的俄语单词?

c - 是否有与 Perl 的 Carp 模块等效的 C 语言?

perl - 如何在 Perl 中创建二进制文件?

linux - Perl 检查子目录并更改所有权