安装cpan模块获取无法生成错误

时间:2016-11-29 14:51:22

标签: perl makefile module install cpan

我想在输入

后安装名为Coro for Perl的cpan模块
cpan Coro

我收到的错误类似于无法生成:未知错误

以下是来自控制台的完整日志:http://pastebin.com/NpXbG2eN

我不知道这有什么问题。

我在安装过程中发现了一些错误:

  • 错误:左值作为赋值致命错误的左操作数:
  • db.h:没有这样的文件或目录

1 个答案:

答案 0 :(得分:0)

这是相关的:

*** It seems you are running perl version 5.022001, likely the "official" or
*** "standard" version. While there is nothing wrong with doing that,
*** standard perl versions 5.022 and up are not supported by Coro.

您收到的错误:

State.xs: In function ‘coro_derive_padlist’:
State.xs:581:29: error: lvalue required as left operand of assignment
   PadlistNAMES (newpadlist) = padnames;

Coro依赖于改变的Perl内部。