macOS Big-Sur:意外的产品版本11.1。如何修补perlbrew?

macOS Big-Sur:意外的产品版本11.1。如何修补perlbrew?,macos,perl,perlbrew,Macos,Perl,Perlbrew,我刚刚将Macbook Air从10.15更新到11.1,然后尝试使用perlbrew安装perl 5.32: $ 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 foll

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

$ 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开发分支中修复,请参阅。那么,现在如何将此修复程序后移植到Perl5.32.0并与perlbrew一起应用呢


可以在这里使用吗?

似乎我必须运行:

$ 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

这能解决问题吗?@ikegami不,不能。我添加了一个Oops,我声称一个元票证实际上是一个pull请求,并且是一个关闭(合并)的请求。我已经更新了我先前的答案,以参考您的机票。