Skip to content

Instantly share code, notes, and snippets.

@LiShuMing
Last active April 25, 2018 06:46
Show Gist options
  • Save LiShuMing/b349d14aa455e3c8edd8c2f5d7ff9239 to your computer and use it in GitHub Desktop.
Save LiShuMing/b349d14aa455e3c8edd8c2f5d7ff9239 to your computer and use it in GitHub Desktop.
Install thrift in Mac OSX Mavericks
1) install boost
brew install boost
it will ask to create link. just follow the instruction
2) install libevent
brew install libevent
3) install thrift
brew install thrift
4) thrift gem for ruby
$ gem install thrift -- --with-cppflags='-D_FORTIFY_SOURCE=0'
Building native extensions with: '--with-cppflags=-D_FORTIFY_SOURCE=0'
This could take a while...
Successfully installed thrift-0.9.1
Parsing documentation for thrift-0.9.1
Installing ri documentation for thrift-0.9.1
Done installing documentation for thrift after 1 seconds
1 gem installed
---
手动安装步骤:
> > ./configure --without-cpp --without-qt4 --without-c_glib --without-csharp --without-erlang --without-python --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go --without-d --without-openssl --without-nodejs --without-lua --without-qt5 --without-qt --with-java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment