Building Apache Mesos on Mac OS X Mavericks

Below are step-by-step instructions for building Apache Mesos on Mac OS X Mavericks. I’ve tried this with Mesos 0.18.1 but it may also work with newer/older versions of Mac OS X/Mesos.

  • Download Apache Mesos 0.18.1 from
  • Extract the downloaded archive
  • Open a terminal
  • Go to the directory where you extracted Mesos
  • Accept the Xcode license: xcodebuild -license
  • Install Brew: ruby -e "$(curl -fsSL"
  • Install GCC: brew install gcc48 (this can take for ever i.e. > 30 minutes)
  • Install Maven: brew install maven
  • Create the build directory: mkdir build
  • Go to the build directory: cd build
  • Run the configure script: ../configure
  • Build: make (this can also take a long time)
  • Run test suite: make check (go make another cup of coffee)
  • Start Mesos server: ./bin/ --ip=
  • Start Mesos slave: ./bin/ --master=
  • Open the Mesos web page:

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s