raku - 预编译的 xxx 中可能存在版本偏差
问题描述
我正在将软件包安装到虚拟机(ubuntu18.04)上。以下是我使用的说明:
apt-get install perl6 && \
git clone https://github.com/ugexe/zef.git && cd zef && perl6 -I. bin/zef install . && \
/usr/lib/perl6/site/bin/zef install Shell::Command && \
PYTHON_CONFIG=/usr/bin/python3-config \
/usr/lib/perl6/site/bin/zef -v install https://github.com/eatingtomatoes/Inline-Python3.git --/test --debug
以下是输出:
....
===> Building [OK] for Inline::Python3:ver<0.1>
===> Installing: LibraryMake:ver<1.0.0>:auth<github:retupmoca>
===> Install [OK] for LibraryMake:ver<1.0.0>:auth<github:retupmoca>
===> Installing: Inline::Python3:ver<0.1>
===> Install [FAIL] for Inline::Python3:ver<0.1>: ===SORRY!===
Probable version skew in pre-compiled
'site#sources/95D204DDA68A3E05E891AA531EBED9270C46B3F7
(Inline::Python3::InstanceConverter)' (cause: no object at index 499)
===SORRY!===
Probable version skew in pre-compiled
'site#sources/95D204DDA68A3E05E891AA531EBED9270C46B3F7
(Inline::Python3::InstanceConverter)' (cause: no object at index 499)
当我perl6 -e "use Inline::Python3; say 'hi'"
在shell中执行时,它报告:
===SORRY!===
Probable version skew in pre-compiled
'site#sources/95D204DDA68A3E05E891AA531EBED9270C46B3F7
(Inline::Python3::InstanceConverter)' (cause: no object at index 499)
Inline::Python3包是我自己开发的perl6包。它在我的电脑上运行良好。
perl6 --version
说:
This is Rakudo version 2018.03 built on MoarVM version 2018.03
implementing Perl 6.c.
我不知道“版本偏差”是什么。如何修复错误?
解决方案
按照@jjmerelo 的建议,使用rakudo-pkg提供的最新编译器解决了这个问题。
推荐阅读
- awk - 在一个文件的行中搜索另一个文件中的部分匹配项
- powershell - 使用 Test-Connection 时如何在 Powershell 中获取 ping 时间?
- python - ODOO XMLRPC 调用自定义方法在同一模型上创建记录
- azure - Azure Kubernetes - 如何确定可用于内部负载均衡器的 DNS 名称?
- git - 如何分叉你在 GitHub 上的仓库?
- java - ArgumentCaptor 正在捕获其他类
- r - R循环遍历数据框并使用条件迭代地创建新数据框
- python - 为什么打印功能的某些输出为 2 行而其他输出为 1?
- html - 另一个跨度中的跨度标记生成新行
- javascript - 为什么javascript方法最后执行?