What you will need
- GCC (version 3.2 or above preferably)
- The tarballs from the mono-project website
- Monocharge (available from http://www.go-mono.com/daily)
- Plenty of time!
For this page, I'll only cover mono-runtime, mcs and libgdiplus
IMPORTANT
If you decide you only want to use the development (unstable) version, you will
also need the gtk-sharp from the stable release version.
Decompressing the archives
Decompression is simple enough...
tar -zxf libgdiplus-<version_number>.tar.gz tar -zxf mono-<version_number>.tar.gz tar -zxf mcs-<version_number>.tar.gz tar -zxf monocharge.tar.gz
Installing monocharge
Move into the monocharge directory, the next stage is very important. You must decide on where you want the mono binaries and libraries to go. If you just run ./recharge.sh by itself, everything will be copied into /usr/local. To change this, type env prefix=<where_you_want_it> ./recharge.sh. For instance, env prefix=/usr ./recharge.sh will copy everything into /usr as it's base.
Installing mono and mcs
cd mono-<version_number> ./configure (--prefix=/usr) (--with-preview) make bootstrap su make install
Mono is now compiled and installed. If you did not define env as anything when you installed monocharge, you won't need --preview as it will automatically install to /usr/local. If you did change env, you need to define prefix to be the same as where you pointed env to
cd ../mcs-<version_number> ./configure (--prefix=/usr) make su make install
Ignore the compilation advice in the tarballs for mono and mcs - they don't work!
To compile the other parts, cd to the directory, ensure that --prefix is set to the same directory as monocharge