[Installation Guide] mac installation thrift0.9.2

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

# 下载brew的安装包包,这个里面包含了大量的安装库
git clone  https://github.com/Homebrew/homebrew-core.git  

# 从这个里面找到thrift0.9.2版本
git log Formula/thrift.rb | less  
git checkout  6013399cd95317da4d3eca981967c77d0e091891  

brew install Formula/thrift.rb  
  • Installation ErrorError: thrift: undefined method revision' for #<BottleSpecification:0x00007f8f16d50f00>
    • Solution: Find Formula / thrift.rb which revision 12amended asrebuild 1
  • Installation ErrorError: thrift: Unsupported special dependency :python
    • Solution:
      depends_on: Python =>: optional
      depends_on "Python" =>: optional

Reference article

  • https://www.iteye.com/blog/decao-2440190
Published 79 original articles · won praise 20 · views 30000 +

Guess you like

Origin blog.csdn.net/GodsLeft/article/details/104077577