homebrewな環境だとちょっとワークアラウンドが必要だったりしたのでメモを残しておく。
Mono v3.0.8 9dc3601 (Sun Mar 24 15:03:22 2013 +0100) 現在です。
# clone the repo
git clone --recursive git://github.com/mono/mono.git
cd mono
# install dependencies
brew install gettext # and more. see README
brew link --force gettext # for msgfmt(1)
# setup env
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/X11/lib/pkgconfig
# autogen & configure
./autogen --prefix $HOME/mono
make
make install
version infoはこんな感じ。
$ ~/mono/bin/mono --version
Mono JIT compiler version 3.0.8 (master/9dc3601 日 3 24 23:51:26 JST 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC)