【发布时间】:2020-12-16 22:33:05
【问题描述】:
我刚刚将我的 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 开发分支中修复,请参阅 Add 11.x support for darwin.sh。那么现在如何将此修复程序向后移植到 Perl 5.32.0 并与 perlbrew 一起应用?
这里可以使用patchperl吗?
【问题讨论】: