

autogen.sh -prefix=$PREFIX -disable-nls Once you do this, run the following commands, remember to replace PREFIX with your installation prefix that you selected: PATH=$PREFIX/bin:$PATH To build Mono from a Git Source Code checkout, you will want to have the official Mono installed on the system, as the build requires a working C# compiler to run. Building Mono From a Git Source Code Checkout configure -prefix=$PREFIX -disable-nlsīy the end of this process, you will have Mono installed on your PREFIX directory.

If you wish to compile Mono in 64 bit mode instead use this to configure the build. configure -prefix=$PREFIX -disable-nls -build=i386-apple-darwin11.2.0 Once you have your dependencies installed all you need to do is run the following command where VERSION is the package version number and PREFIX is your installation prefix: PREFIX=/usr/local
BUILD BINARY FOR WINDOWS ON MAC INSTALL
through Homebrew brew install autoconf automake libtool pkg-config cmake python3 You need to install those in your path, e.g. Mono uses GNU autoconf, automake and libtool. On Mavericks and later versions you will need to install some tools that are no longer part of the developer SDK, but luckily this is a very simple process. Building Monoīuilding Mono is a very simple process as Mono has very few external dependencies. It is strongly advised not to install Mono from source in /usr as it might conflict with Mono as installed by the Mono package.
BUILD BINARY FOR WINDOWS ON MAC HOW TO
If you have more than one Mono installation (for example to keep multiple versions around), you will want to read the document on Parallel Mono Environments on how to keep your various Mono installations separate. For example, I like to use the directory /opt/mono, so I would replace PREFIX with /opt/mono in the following discussion. Your Mono installation and its dependencies will be installed there. Pick an installation directory where you want your new copy of Mono to be installed.
