-
-
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 |
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.
In order to generalize this to any past Thrift version, the form of the
brew install
can be found by…Alternatively,
will also work.