-
-
Save timvlaer/721ba30f8fc6a7aac1b0190e132a4261 to your computer and use it in GitHub Desktop.
brew unlink thrift | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/9d524e4850651cfedd64bc0740f1379b533f607d/Formula/thrift.rb |
note that with the latest version of brew on mojave, you can just run brew install [email protected]
and then add the thrift binaries to your $PATH
. this works for me so far ([email protected] seems to be an official pkg with no dependency issues)
note that with the latest version of brew on mojave, you can just run
brew install [email protected]
and then add the thrift binaries to your$PATH
. this works for me so far ([email protected] seems to be an official pkg with no dependency issues)
thanks!
66666
brew install https://gist.githubusercontent.com/chrislusf/8b4e7c19551ba220232f037b43c0eaf3/raw/01465b867b8ef9af7c7c3fa830c83666c825122d/thrift.rb
Thanks.
Use this. Fixed issues with python dependency.
brew install https://gist.githubusercontent.com/chrislusf/8b4e7c19551ba220232f037b43c0eaf3/raw/01465b867b8ef9af7c7c3fa830c83666c825122d/thrift.rb
Thanks
Use this. Fixed issues with python dependency.
brew install https://gist.githubusercontent.com/chrislusf/8b4e7c19551ba220232f037b43c0eaf3/raw/01465b867b8ef9af7c7c3fa830c83666c825122d/thrift.rb
hi,thank you . Then,your method provides the way of downloading the version of 0.9.3,but i want to download the version 0.10.(how can i do to get 0.10. without error "python dependency"?)
Use this. Fixed issues with python dependency.
brew install https://gist.githubusercontent.com/chrislusf/8b4e7c19551ba220232f037b43c0eaf3/raw/01465b867b8ef9af7c7c3fa830c83666c825122d/thrift.rb
you are awesome, man
thanks
Oh yeah! thx 🎉
I've got an error:
DownloadError: Failed to download resource "icu4c" Download failed: https://github.com/unicode-org/icu/releases/download/release-64-2/icu4c-64_2-src.tgz
Any ideas how to fix this?
In order to generalize this to any past Thrift version, the form of the brew install
can be found by…
1. Pulling down the homebrew-core repository : https://github.com/Homebrew/homebrew-core/commits/master
2. $ git log master -- Formula/thrift.rb
3. Find the commit ID for the thrift version you want (may be multiple - I just grabbed the first one that had 0.12.0 in the commit message)
4. brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/<commit-ID>/Formula/thrift.rb
Alternatively,
1. Pulling down the homebrew-core repository : https://github.com/Homebrew/homebrew-core/commits/master
2. $ git log master -- Formula/thrift.rb
3. Find the commit ID for the thrift version you want (may be multiple - I just grabbed the first one that had 0.12.0 in the commit message)
4. $ git checkout <commit-ID>
5. $ brew install Formula/thrift.rb
will also work.
This is exactly what I needed. Thank you farkwun
hi t try this but it does NOT work :
Error: Calling Non-checksummed download of thrift formula file from an arbitrary URL is disabled! Use 'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.
WHY?
hi t try this but it does NOT work :
Error: Calling Non-checksummed download of thrift formula file from an arbitrary URL is disabled! Use 'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.
WHY?
Right, so, I gave two options - the error message you listed says that they're no longer allowing download of thrift formula files from an arbitrary URL, but the second method doesn't require you to do that.
Doing a git checkout <commit-ID>
then running brew install Formula/thrift.rb
still totally works.
thrift 0.9.3 commit-id is 9d524e4850651cfedd64bc0740f1379b533f607d
in 2021, you need to do this:
1、brew unlink thrift
2、brew install [email protected]
3、echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc
in 2021, you need to do this:
1、brew unlink thrift
2、brew install [email protected]
3、echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc
This will install thrift 0.9.3.1 under usr/local/opt/
If you need thrift under usr/local/bin
, do brew link [email protected]
(Caution. Check if there is already another version of thrift.)
I believe this is failing again:
brew install [email protected]
Error: [email protected] has been disabled because it is a versioned formula!
#brew version
4.1.25-50-g2e9d7fb
#brew install [email protected]
Error: [email protected] has been disabled because it is a versioned formula!
and can not download from Forumla url
~ brew install [email protected]
Error: [email protected] has been disabled because it is a versioned formula! It was disabled on 2024-01-01.
works for me, thanks