如何在 big sur 上安装 thrift 0.15?
How to install thrift 0.15 on big sur?
如何在 Mac OS Big Sur 上安装 thrift 0.15.0?我按照 this 答案中的建议进行操作,但出现以下错误
dmanna-a02:main dmanna$ brew untap $USER/local-tap --force
Error: No available tap dmanna/local-tap.
dmanna-a02:main dmanna$ brew tap-new $USER/local-tap
Initialized empty Git repository in /usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap/.git/
[master (root-commit) 13428b3] Create dmanna/local-tap tap
3 files changed, 88 insertions(+)
create mode 100644 .github/workflows/publish.yml
create mode 100644 .github/workflows/tests.yml
create mode 100644 README.md
==> Created dmanna/local-tap
/usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap
When a pull request making changes to a formula (or formulae) becomes green
(all checks passed), then you can publish the built bottles.
To do so, label your PR as `pr-pull` and the workflow will be triggered.
dmanna-a02:main dmanna$ brew extract --version='0.15.0' thrift $USER/local-tap
==> Searching repository history
Warning: Calling `cellar` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:14
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:16
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:17
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:18
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:19
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:20
Error: thrift: undefined method `sha1' for #<SoftwareSpec:0x00007fc41d986f00>
我将自制软件升级到 3.3.4。之后出现以下错误
dmanna-a02:main dmanna$ brew untap $USER/local-tap --force
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/csshx.rb:11
Untapping dmanna/local-tap...
Untapped (31 files, 27.7KB).
dmanna-a02:main dmanna$ brew tap-new $USER/local-tap
Initialized empty Git repository in /usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap/.git/
[master (root-commit) a9c5c38] Create dmanna/local-tap tap
3 files changed, 88 insertions(+)
create mode 100644 .github/workflows/publish.yml
create mode 100644 .github/workflows/tests.yml
create mode 100644 README.md
==> Created dmanna/local-tap
/usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap
When a pull request making changes to a formula (or formulae) becomes green
(all checks passed), then you can publish the built bottles.
To do so, label your PR as `pr-pull` and the workflow will be triggered.
dmanna-a02:main dmanna$ brew extract --version='0.15.0' thrift $USER/local-tap
==> Searching repository history
Error: thrift: undefined method `[]' for nil:NilClass
- MacOS 版本 - 11.6.1
将自制软件升级到 3.3.4 后对我有用的步骤
- 酿造更新
- 酿造重置$USER/local-tap --force
- brew tap-new $USER/local-tap
- brew extract --version='0.15.0' thrift $USER/local-tap
- brew install thrift@0.15.0
第 5 步给出了以下日志
==> Installing thrift@0.15.0 from dmanna/local-tap
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.
然后执行以下步骤
dmanna-a02:~ dmanna$ softwareupdate --all --install --force
Software Update Tool
Finding available software
No updates are available.
dmanna-a02:~ dmanna$ sudo rm -rf /Library/Developer/CommandLineTools
Password:
dmanna-a02:~ dmanna$ sudo xcode-select --install
终于使用以下命令安装了 thrift 0.15.0
dmanna-a02:~ dmanna$ brew install thrift@0.15.0
如何在 Mac OS Big Sur 上安装 thrift 0.15.0?我按照 this 答案中的建议进行操作,但出现以下错误
dmanna-a02:main dmanna$ brew untap $USER/local-tap --force
Error: No available tap dmanna/local-tap.
dmanna-a02:main dmanna$ brew tap-new $USER/local-tap
Initialized empty Git repository in /usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap/.git/
[master (root-commit) 13428b3] Create dmanna/local-tap tap
3 files changed, 88 insertions(+)
create mode 100644 .github/workflows/publish.yml
create mode 100644 .github/workflows/tests.yml
create mode 100644 README.md
==> Created dmanna/local-tap
/usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap
When a pull request making changes to a formula (or formulae) becomes green
(all checks passed), then you can publish the built bottles.
To do so, label your PR as `pr-pull` and the workflow will be triggered.
dmanna-a02:main dmanna$ brew extract --version='0.15.0' thrift $USER/local-tap
==> Searching repository history
Warning: Calling `cellar` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256` with a `cellar:` argument instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:14
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:16
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:17
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:18
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:19
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/thrift.rb:20
Error: thrift: undefined method `sha1' for #<SoftwareSpec:0x00007fc41d986f00>
我将自制软件升级到 3.3.4。之后出现以下错误
dmanna-a02:main dmanna$ brew untap $USER/local-tap --force
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/csshx.rb:11
Untapping dmanna/local-tap...
Untapped (31 files, 27.7KB).
dmanna-a02:main dmanna$ brew tap-new $USER/local-tap
Initialized empty Git repository in /usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap/.git/
[master (root-commit) a9c5c38] Create dmanna/local-tap tap
3 files changed, 88 insertions(+)
create mode 100644 .github/workflows/publish.yml
create mode 100644 .github/workflows/tests.yml
create mode 100644 README.md
==> Created dmanna/local-tap
/usr/local/Homebrew/Library/Taps/dmanna/homebrew-local-tap
When a pull request making changes to a formula (or formulae) becomes green
(all checks passed), then you can publish the built bottles.
To do so, label your PR as `pr-pull` and the workflow will be triggered.
dmanna-a02:main dmanna$ brew extract --version='0.15.0' thrift $USER/local-tap
==> Searching repository history
Error: thrift: undefined method `[]' for nil:NilClass
- MacOS 版本 - 11.6.1
将自制软件升级到 3.3.4 后对我有用的步骤
- 酿造更新
- 酿造重置$USER/local-tap --force
- brew tap-new $USER/local-tap
- brew extract --version='0.15.0' thrift $USER/local-tap
- brew install thrift@0.15.0
第 5 步给出了以下日志
==> Installing thrift@0.15.0 from dmanna/local-tap
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.
然后执行以下步骤
dmanna-a02:~ dmanna$ softwareupdate --all --install --force
Software Update Tool
Finding available software
No updates are available.
dmanna-a02:~ dmanna$ sudo rm -rf /Library/Developer/CommandLineTools
Password:
dmanna-a02:~ dmanna$ sudo xcode-select --install
终于使用以下命令安装了 thrift 0.15.0
dmanna-a02:~ dmanna$ brew install thrift@0.15.0