This will compile Mono from a TAR package. It takes about 4 hours in sum.
Procedure
• | Preparation for installation ...
yum install glib2-devel libpng-devel libjpeg-devel giflib-devel libtiff-devel libX11-devel fontconfig-devel bison gettext libtool cairo-devel |
• | Create a new folder where we place the files. You can use the tmp directory for that
mkdir /tmp/sources
cd /tmp/sources |
libgdiplus Compilation
• | Get the libgdiplus sources from GIT
git clone git://github.com/mono/libgdiplus |
• | Enter the new directory
cd libgdiplus |
• | Run autogen
./autogen.sh --prefix=/usr |
• | Compile the sources
make
Solving “libtool: Version mismatch error”
autoreconf -ivf |
• | Install the files
make install |
• | Leave the directory
cd .. |
Mono Compilation
• | Download the latest release (at the moment of writing it is mono-3.6.0.tar.bz2)
wget http://download.mono-project.com/sources/mono/mono-3.6.0.tar.bz2 |
• | Extract the TAR file
tar -jxvf mono-3.6.0.tar.bz2 |
• | Enter the new directory
cd mono-3.6.0 |
• | run configure
./configure --prefix=/usr/local/
/usr/local/ is the installation path of the compiled files |
• | run make - compile all the files
sudo make |
• | run make install - this will install the needed files into your system (this will take ~10 minutes)
sudo make install |
Uninstall
• | Run the uninstall
sudo make uninstall |
• | remove the source files
rm -rf ~/sources/mono |
Additional Information
Notes about compiling Mono 3.2.3 from a TAR Archiv
https://gist.github.com/pjvds/7185693
|