-   Linux - Software (
-   -   How to create a mono 3.0 RPM package (

qrpengx 03-19-2013 03:47 AM

How to create a mono 3.0 RPM package
I recently found myself needing to build Mono 3.0 for CentOS 6.
Because there are currently no Mono 3.0 RPMs that I could find
How to create a mono 3.0 RPM package

eklavya 03-19-2013 10:01 AM


yum -y update
yum -y install glib2-devel
yum -y install libpng-devel
yum -y install libjpeg-devel
yum -y install giflib-devel
yum -y install libtiff-devel
yum -y install libexif-devel
yum -y install libX11-devel
yum -y install fontconfig-devel
yum -y install gettext
yum -y install make
yum -y install gcc-c++


export echo=echo

# build libgdiplus
curl -O
bunzip2 libgdiplus-2.10.9.tar.bz2
tar xvf libgdiplus-2.10.9.tar
cd libgdiplus-2.10.9
./configure --prefix=/usr/local
make install

# build mono
curl -O
bunzip2 mono-3.0.0.tar.bz2
tar xvf mono-3.0.0.tar
cd mono-3.0.0
./configure --prefix=/usr/local
make install


# tell binfmt how to launch CLR executables
echo ':CLR:M::MZ::/usr/local/bin/mono:' > /proc/sys/fs/binfmt_misc/register

---------- Post added 03-19-13 at 10:02 AM ----------

If you are still facing problems, try this.

All times are GMT -5. The time now is 07:26 AM.