Skip to content

Instantly share code, notes, and snippets.

@ksauzz
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksauzz/67edefaa2af05338fb6c to your computer and use it in GitHub Desktop.
Save ksauzz/67edefaa2af05338fb6c to your computer and use it in GitHub Desktop.
Building Mesos from source on OS X 10.9.5.

My homebew is installed into /usr/local/homebrew.

Install gcc-4.8

brew install gcc48

cd /usr/local/bin
rm cc gcc c++ g++
ln -s /usr/local/bin/gcc-4.8 cc
ln -s /usr/local/bin/gcc-4.8 gcc
ln -s /usr/local/bin/c++-4.8 c++
ln -s /usr/local/bin/g++-4.8 g++

Install subversion

brew install subversion

Build Mesos

--disable-python is a workaround for the issue: https://issues.apache.org/jira/browse/MESOS-799

git checkout git@github.com:apache/mesos.git
cd mesos
git checkout -b 0.23.0 0.23.0
./bootstrap.sh
mkdir build
cd build
../configure --prefix=/usr/local/mesos-0.23.0 --disable-python
make -j 8 V=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment