簡體   English   中英

macOS Big Sur:意外的產品版本 11.1。 如何修補 perlbrew?

[英]macOS Big Sur: Unexpected product version 11.1. How to patch 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 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 一起應用?

可以在這里使用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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM