Installation thrift0.9.2
- Tried several methods, there are a variety of problems, and ultimately to achieve the following method, I feel that is a relatively good way
Installation process
git clone https://github.com/Homebrew/homebrew-core.git
git log Formula/thrift.rb | less
git checkout 6013399cd95317da4d3eca981967c77d0e091891
brew install Formula/thrift.rb
- Installation Error
Error: thrift: undefined method revision' for #<BottleSpecification:0x00007f8f16d50f00>
- Solution: Find Formula / thrift.rb which
revision 12
amended asrebuild 1
- Installation Error
Error: thrift: Unsupported special dependency :python
- Solution:
depends_on: Python =>: optional
depends_on "Python" =>: optional
Reference article
- https://www.iteye.com/blog/decao-2440190