LoginSignup
7
7

More than 5 years have passed since last update.

Macでmonoをrepoからビルドする

Last updated at Posted at 2013-03-24

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)
7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7