Can't install Thrift on Mac OS 10.9.2

ⅰ亾dé卋堺 提交于 2019-12-05 09:10:15

Try following:

$ brew install pkg-config

I faced the same problem today and I didn't want to use brew install thrift as I have my boost installation in a custom location.

Installing pkg-config and then building a clean checkout of thrift worked.

I just install thrift use brew.Because my brew version is too low.And I update my brew, it works.But when I update my brew,I meet a problem this--https://github.com/Homebrew/homebrew/issues/28965#issuecomment-42163418 Thank all answers!

just command these:

brew update
brew install thrift

if update meet a problem like this:

undefined method `to_sym' for nil:NilClass

Just brew update again,it will work!

How about installing macports and simply doing:

$ sudo port install thrift
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!