Installing Homebrew
This process appeared to be fairly trivial. Run the following command. The script will tell you want it wants to do. I stuck with the default responses and let it do it’s worst. You will probably want to read the HomeBrew page [HERE] first, before just trusting me.
david$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
Next step was to run the Brew Doctor and address any major issues raised there, of which I had a few. The most pressing of which was this:
Warning: Xcode is installed to a directory with a space in the name.
This will cause some formulae to fail to build.
I deleted XCode 4.3.3 (my latest installed version) and re-installed which gave me version 4.6.2. Next I had to install the ‘Command Line Tools’ (no longer embeded in XCode). That can be found in the XCode Preferences -> Downloads.
I had a few other issues, stray libraries from botched builds past. I worked through my issued and then tried to installing components.
Since Boost seems to be very commonly referenced, I went ahead and installed it with Brew as it’s first task:
Installing Boost using Brew
Then went about installing boost with HomeBrew, since it did not seem to get all the components I needed when installed via MacPorts/Fink.
david$ brew install boost
This appears to have installed boost-1.53.0
* DONE *
Now, you may Brew!
One thought on “Installing HomeBrew for OSX”