Mac安装thrift-0.10.0
2017-08-08 09:47
274 查看
安装Xcode
App store里安装。不安装这个会出现无法编译boost的问题。安装boost
http://www.boost.org/下载安装包,解压缩。
./bootstrap.sh --prefix=/usr/local/ ./b2 threading=multi address-model=64 variant=release stage install
安装libevent
http://libevent.org/brew install openssl 到/usr/local/Cellar/openssl目录下查看,应该有1.0.2l,接下来建立软连接 ln -s /usr/local/Cellar/openssl/1.0.2l/include/openssl/ libevent_home/include/openssl ./config --prefix=/usr/local/ make make install
安装thrift
官网下载0.10.0的包https://thrift.apache.org/download
brew install autoconf brew install libtool brew install automake ./configure --prefix=/usr/local --with-boost=/usr/local --with-libevent=/usr/local LDFLAGS='-L/usr/local/opt/openssl/lib' CPPFLAGS='-I/usr/local/opt/openssl/include' make sudo make install thrift -version 验证
相关文章推荐
- Mac 10.9.2 安装thrift
- mac安装thrift-0.9.1
- 在Mac OS X 10.9上安装 Thrift 0.9.1
- Mac上安装Thrift
- MAC下thrift安装
- mac 下如何安装上thrift
- thrift的安装以及与http网络性能对比(MAC环境)
- mac安装thrift
- IOS/MAC环境下thrift的安装
- Mac下安装降级版thrift
- Mac下安装Thrift
- MAC/linux 下Thrift安装
- Mac安装Thrift
- Ubuntu安装thrift0.10.0
- Mac安装thrift因bison报错的解决办法
- 解决Mac安装thrift因bison报错的问题
- mac下安装thrift
- 【Thrift】Mac 安装
- mac 安装thrift
- mac 安装 elk