Installing and running Boo on Mac OS X
When installing Boo from the binaries on the Boo site, it installs to /usr/local, whereas Mono is installed in /Library/Frameworks/Mono.framework/Versions/Current. This causes all sorts of issues like the following:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Boo.Lang.Compiler, Version=2.0.9.4, Culture=neutral, PublicKeyToken=32c39770e9a21a67' or one of its dependencies. File name: 'Boo.Lang.Compiler, Version=2.0.9.4, Culture=neutral, PublicKeyToken=32c39770e9a21a67' at booc.App.AppRun (System.String[] args) [0x00000] in <filename unknown>:0 at booc.App.Main (System.String[] args) [0x00000] in <filename unknown>:0
It's best to install Boo into the mono path instead:
./configure --prefix=/Library/Frameworks/Mono.framework/Versions/Current/ sudo make install
Unfortunately, that still fails because the booc,booi and booish files don't contain the right path, so open up /Library/Frameworks/Mono.framework/Versions/Current/bin/boo* in your favourite text editor and add the following line after the "#!/bin/sh" line:
export exec_prefix=/Library/Frameworks/Mono.framework/Versions/Current/
Boo should now work perfectly on your mac!
Welcome to booish, an interactive interpreter for the boo programming language. Running boo 0.9.4.9 on 2.10.1 (tarball Fri Feb 25 15:56:49 MST 2011). Enter boo code in the prompt below (or type /help). >>>
![icy [labs]](/moin_static171/common/wikilogo.png)