Install Apache Thrift on Mac OS X

Below steps are to install Thrift on Mac OS X, especially if you want to use it with Java, C/C++ and Cocoa support only.

1- Install Xcode from the Mac App Store

Note: If you want install “Command Line Tools for Xcode” only, you can use below command:

xcode-select --install

2- Launch Xcode, open the Preferences, select Downloads, and install
the “Command Line Tools for Xcode” component.

3- Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
brew doctor

4- Use Homebrew to install Boost

brew install boost

5- Use Homebrew to install Thrift with Java support

brew install thrift --with-java

Advertisements

One thought on “Install Apache Thrift on Mac OS X

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s