How to install Mono from source?

view story

http://askubuntu.com – I am trying to install Mono from source (because in the future I will need to fix a bug in it). PROBLEM: The compiled Mono does not behave properly. Note: http://www.mono-project.com/Compiling_Mono_From_Git is not the whole answer. SparkleShare runs fine on Ubuntu's packaged Mono, but I get a TypeLoadException after following the instructions on that page, so some DLL settings or something need to be configured too (confirmed on IRC), but I can't find a complete documentation, that is why I ask here. I also tried this: Install Ubuntu 2012.04 (Mono is not installed by default) sudo apt- (HowTos)