Change font size
It is currently Thu Mar 23, 2017 3:15 pm

Forum rules


Image
. please keep questions related to an OpenSimulator and OSgrid nature.



Post a new topicPost a reply Page 1 of 1   [ 3 posts ]
Author Message
 Post subject: HOW TO: Compile Mono 2.10.8 from Tarball [Linux Universal]
PostPosted: Wed Feb 10, 2010 11:44 pm 
Site Admin
User avatar

Joined: Sat Feb 02, 2008 5:27 pm
Posts: 843
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
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
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
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
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:


Top
 Profile  
 
 Post subject: Re: HowTo: Compile Mono 2.10.2 from Tarball [Linux Universal]
PostPosted: Fri May 13, 2011 3:20 pm 
Site Admin
User avatar

Joined: Sat Feb 02, 2008 5:27 pm
Posts: 843
If you have trouble with MCS giving you errors about compiling it and to use bootstrap method, try installing mono with the following incantation:
Code:
sh autogen.sh --prefix=/home/user/bin/mono
make get-monolite-latest
make
make install


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


Top
 Profile  
 
 Post subject: Re: HowTo: Compile Mono 2.10.2 from Tarball [Linux Universal]
PostPosted: Thu May 19, 2011 7:27 am 
Furious Typer

Joined: Fri Dec 12, 2008 9:47 am
Posts: 258
Hi

Is mono 2.10.2 meanwhile the recomended version?

_________________
ImageImageImage


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 3 posts ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net