Forked from timvlaer/gist:721ba30f8fc6a7aac1b0190e132a4261
Created
December 21, 2017 07:29
-
-
Save siddharthg/6923b2cbb402bd65255af7859a5d52a5 to your computer and use it in GitHub Desktop.
Install Thrift 0.10.0 with brew on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew unlink thrift | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/16ebe5f1843e6cb54856311ff0f676be53007329/Formula/thrift.rb |
optional
may i ask
where could I change it
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1
the same problem when I tried 'brew install ./thrift.rb'
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1the same problem when I tried 'brew install ./thrift.rb'
Error: Failed to download resource "thrift_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/thrift/manifests/0.9.3-1
Homebrew v3.1.0 replaced Bintray with GitHub packages.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update:
Use homebrew-thrift Tap, easy install:
https://github.com/cartman-kai/homebrew-thrift
Old soluation:
I solved this problem.
git clone https://github.com/Homebrew/homebrew-core.git
, it may be slow, because repo size.cd homebrew-core
andgit checkout 16ebe5f1843e6cb54856311ff0f676be53007329
, this commit id is lasted commit before updated to thrift 0.11.0vim ./Formula/thrift.rb
modify this file,in line number 35, changedepends_on :python => :optional
-># depends_on :python => :optional
or change like @qingdi method.brew install ./Formula/thrift.rb
other reason: Remove all options from Homebrew/homebrew-core formulae