Homebrew is an amazing tool: It really is the missing package manager for OS X. I like it better than the older MacPorts. It’s also fully based on GitHub, so in this regard a bit more modern.
I have the idea to write a Homebrew formula for FairRoot’s external packages. This is still a bit away, though.
So first, here the prerequisites you need in order to get the external packages running on your blank OS X.
This is tested on a very clean OS X 10.9 Mavericks installation I specially set up in a VirtualBox1.
- Install Homebrew:
Shell1ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- Install homebrew-cask (for binaries):
Shell12brew tap phinze/homebrew-caskbrew install brew-cask
- Install XQuartz, the X11 successor thingy:
Shell1brew cask install xquartz
- Install gfortran, the GNU Fortran compiler:
Shell1brew install gfortran
You’re now good to go to svn co https://subversion.gsi.de/fairroot/fairsoft/trunk/ fairsoft.sources and cd fairsoft.trunk; ./configure.sh2. Be sure to choose installing with Clang.
Sidenote: If you’re just interested in CERN’s ROOT – there’s a Formula for this. Just brew install homebrew/science/root and you are done.
Very small OS-X-VirtualBox-Howto: Download Mavericks from the App Store. Install VirtualBox
brew cask install virtualbox. Use iESD to generate a dmg file from the OS X Install.app. Create a VBox virtual machine for OS X and use generated bootable dmg to install OS X. Done. ↩
The first thing I usually do: Opening the configure.sh script and change the install target path so that I can call it with
./configure.sh automatic. Huge time saver. ↩