安装thrift时,报错:
Bison version 2.5 or higher must be installed on the system!
使用brew install bison后仍报错。
经查是使用了xcode自带的bison将xcode的bison改名后编译,编译完以后再把名字改回来。
xcode bison的路径在:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/下面