osgrid.org
https://forums.osgrid.org/

HOW TO: Compile Mono 2.10.8 from Tarball [Linux Universal]
https://forums.osgrid.org/viewtopic.php?f=14&t=2194
Page 1 of 1

Author:  Nebadon Izumi [ Wed Feb 10, 2010 11:44 pm ]
Post subject:  HOW TO: Compile Mono 2.10.8 from Tarball [Linux Universal]

Before starting you will probably need to install these packages on a fresh box:
(package naming scheme varies depending on your flavor of linux)

libtool
libpng3
libpng-devel
libjpeg
libjpeg-devel
libtiff
libtiff-devel
libexif
libexif-devel
giflib
giflib-devel
bison
automake
autoconf
make
gcc
gtk
xorg-x11-devel
freetype
fontconfig
fontconfig-devel
gettext
nant

pre-req package install for SuSE 11.x
{L_CODE}:
zypper install libtool libpng3 libpng-devel libjpeg libjpeg-devel libtiff libtiff-devel libexif libexif-devel giflib giflib-devel bison automake autoconf make gcc gcc-c++ gtk xorg-x11-devel freetype fontconfig fontconfig-devel gettext glib2-devel

pre-req package install for Ubuntu/LinuxMint 11
{L_CODE}:
apt-get install libpng3 libpng3-dev libtool libjpeg62 libjpeg62-dev libtiff4 libtiff4-dev libexif12 libexif-dev libgif4 libgif-dev bison automake autoconf make gcc build-essential xorg-dev libfreetype6 libfontconfig libfontconfig-dev gettext libglib2.0-dev

pre-req package install for CentOS 6
{L_CODE}:
yum install libtool autoconf automake cloog-ppl cpp gcc glibc-devel glibc-headers kernel-headers mpfr ppl libpng-devel libjpeg libjpeg-devel libtiff libtiff-devel libexif libexif-devel giflib giflib-devel bison gcc-c++ libX11-devel freetype fontconfig fontconfig-devel gettext  glib2-devel


libgdiplus from Tarball:

Download : http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2

tar xfv libgdiplus-2.10.tar.bz2
cd libgdiplus-2.10
./configure --prefix=/home/<user>/bin/mono
make
make install

Mono From Tarball:

Download : http://download.mono-project.com/sources/mono/mono-2.10.8.tar.bz2

tar xfv mono-2.10.8.tar.bz2
cd mono-2.10.8
./configure --prefix=/home/<user>/bin/mono
make
make install

edit the .bashrc file in your /home/<user> and insert and adjust the following for your specific install
{L_CODE}:
export PATH="/home/<user>/bin/mono/bin:$PATH"
export PKG_CONFIG_PATH="/home/<user>/bin/mono/lib/pkgconfig:$PKG_CONFIG_PATH"
export MANPATH="/home/<user>/bin/mono/share/man:$MANPATH"
export LD_LIBRARY_PATH="/home/<user>/bin/mono/lib:$LD_LIBRARY_PATH"
export MONO_THREADS_PER_CPU=75


if you have trouble compiling check the responses below for some fixes.

Neb :ugeek:

Author:  Nebadon Izumi [ Fri May 13, 2011 3:20 pm ]
Post subject:  Re: HowTo: Compile Mono 2.10.2 from Tarball [Linux Universal]

If you have trouble with MCS giving you errors about compiling it and to use bootstrap method, try installing mono with the following incantation:
{L_CODE}:
sh autogen.sh --prefix=/home/user/bin/mono
make get-monolite-latest
make
make install


do not use this for historical purposes only
{L_CODE}:
sh autogen.sh --prefix=/home/user/bin/mono --with-tls=pthread --with-large-heap=yes

Author:  Michelle Argus [ Thu May 19, 2011 7:27 am ]
Post subject:  Re: HowTo: Compile Mono 2.10.2 from Tarball [Linux Universal]

Hi

Is mono 2.10.2 meanwhile the recomended version?

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/