Mac安装thrift因bison报错的解决办法

安装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/下面

发表评论

电子邮件地址不会被公开。 必填项已用*标注