macOS Big Sur:意外的产品版本11.1.如何修补珍珠? [英] macOS Big Sur: Unexpected product version 11.1. How to patch perlbrew?

查看:73
本文介绍了macOS Big Sur:意外的产品版本11.1.如何修补珍珠?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将Macbook Air从10.15更新到了11.1,然后尝试使用perlbrew安装perl 5.32:

I just updated my Macbook Air from 10.15 to 11.1, and then tried to install perl 5.32 with perlbrew:

$ perlbrew install perl-5.32.0
Installing /Users/hakonhaegland/perl5/perlbrew/build/perl-5.32.0/perl-5.32.0 into ~/perl5/perlbrew/perls/perl-5.32.0

This could take a while. You can run the following command on another shell to track the status:

  tail -f ~/perl5/perlbrew/build.perl-5.32.0.log

Installation process failed. To spot any issues, check

  /Users/hakonhaegland/perl5/perlbrew/build.perl-5.32.0.log

,构建日志显示:

[...]
Which of these apply, if any? [darwin]

*** Unexpected product version 11.1.
***
*** Try running sw_vers and see what its ProductVersion says.

##### Brew Failed #####

幸运的是,此问题已在Perl开发分支中得到解决,请参见添加11.x支持用于darwin.sh .那么现在如何将此修复程序向后移植到 Perl 5.32.0 并与 perlbrew 一起应用?

Fortunately, this issue has been fixed in the Perl development branch, see Add 11.x support for darwin.sh. So how can this fix now be backported to Perl 5.32.0 and applied with perlbrew?

可以在这里使用 patchperl 吗?

推荐答案

好像我只需要运行:

$ perlbrew install-patchperl

/Users/hakonhaegland/perl5/perlbrew/bin/patchperl already exists, are you sure to override ? [y/N] [N] y

patchperl is installed to

    /Users/hakonhaegland/perl5/perlbrew/bin/patchperl

然后重新运行

$ perlbrew install perl-5.32.0

这篇关于macOS Big Sur:意外的产品版本11.1.如何修补珍珠?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆