Building Mono: Difference between revisions
Appearance
Created page with "=Prerequisites= Please note, some of these packages may not be strictly required, but the lists should be sufficient. ==== Debian / Ubuntu ==== sudo apt-get update sudo apt-get..." |
|||
| Line 16: | Line 16: | ||
./configure --prefix=/usr/local --with-sgen=yes --with-gc=sgen --with-ikvm-native=no --with-moonlight=no | ./configure --prefix=/usr/local --with-sgen=yes --with-gc=sgen --with-ikvm-native=no --with-moonlight=no | ||
==== Build the sources ==== | ==== Build the sources ==== | ||
make | |||
==== Install mono to target directory ==== | ==== Install mono to target directory ==== | ||
This part takes a while... | This part takes a while... | ||
Revision as of 20:22, 19 November 2011
Prerequisites
Please note, some of these packages may not be strictly required, but the lists should be sufficient.
Debian / Ubuntu
sudo apt-get update sudo apt-get install gcc libtool bison pkg-config gettext make bzip2 g++ wget
Fedora / CentOS / RedHat
yum update -y yum install -y make automake glibc-devel gcc-c++ gcc bison pkgconfig gettext-libs autoconf libtool wget
Installation
Download the sources for the latest version of Mono
wget http://download.mono-project.com/sources/mono/mono-2.10.6.tar.bz2
Unpack the archive
tar xjf mono-2.10.6.tar.bz2 cd mono-2.10.6
Configure the build process
./configure --prefix=/usr/local --with-sgen=yes --with-gc=sgen --with-ikvm-native=no --with-moonlight=no
Build the sources
make
Install mono to target directory
This part takes a while...
sudo make install
Check installation
mono --version