-
Notifications
You must be signed in to change notification settings - Fork 49
Mono Install
Please note, some of these packages may not be strictly required, but the lists should be sufficient. If there's anything missing, please let us know.
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
If somebody knows what are the packages required to build mono, please let us know.
wget http://download.mono-project.com/sources/mono/mono-2.10.5.tar.bz2 Unpack the archive
tar xjf mono-2.10.5.tar.bz2 cd mono-2.10.5
./configure --prefix=/opt/mymono --with-ikvm-native=no --with-profile4=yes --with-moonlight=no --without-x --disable-shared-memory
nice -n10 make
sudo make install
In the directory where you intend to keep your TDSM data, open up your favorite text editor, for instance nano:
nano mymono Put this in and save (to save and exit in nano press ctrl-x):
#!/bin/sh
export PATH=/opt/mymono/bin:$PATH
export LD_LIBRARY_PATH=/opt/mymono/lib:$LD_LIBRARY_PATH
mono-sgen --debug -O=all,-gshared "$@"
`
### Give the script permission to execute:
chmod u+x mymono
To use the run script, run it followed by the .exe name:
./mymono tdsm.mono.exe