mac os 安装 thrift

来源:互联网 发布:知不足然后能自反也 编辑:程序博客网 时间:2024/06/06 02:52

brew install bison


xcode会关联一个低版本的bison导致新安装的bison不会被系统找到,


修改.bash_profile

export PATH="/usr/local/Cellar/bison/3.0.4/bin/:/opt/local/bin:/opt/local/sbin:$PATH"




/configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local --without-ruby --without-perl --without-php

还是有各种错误


直接

sudo port install thrift 可以正确安装了

0 0
原创粉丝点击