Today I tried to build Apache Mesos on my Macbook Pro, although it’s fairly simple there are just a few gotchas.
So decided to put the steps here:
1, Clone the code (git clone http://github.com/apache/mesos.git)
2, Install homebrew (http://brew.sh/)
3, Add homebrew taps:
% brew tap homebrew/versions
% brew tap homebrew/science
% brew tap homebrew/apache
4, Install libtool, svn and apr libraries
% brew install libtool svn apr
5, Install automake112 (which installs autoconf as well)
% brew install automake112
6, Symlink automake112 to automake, and aclocal112 to aclocal
% ln -sf automake112 /usr/local/bin/automake
% ln -sf aclocal112 /usr/local/bin/aclocal
7, And finally build (creating a seperate folder to not generate files in the main dir)!
% ./bootstrap && mkdir build && cd build && ../configure && make install
That’s all that you need to do!