A while ago I posted a how-to on compiling Mono 2.4 from source on Ubuntu. After the release of a minor version update for mono, Mono 184.108.40.206 it was impossible to compile debugger support for Monodevelop 2.0 using Mono 220.127.116.11 sources.
The reason is because in mono 18.104.22.168 the mono-debugger was also updated, to version 22.214.171.124, breaking compatibility with monodevelop-debugger-mdb-2.0. I found a way to solve this and provide a patch.
Download the patch from here.
Applying the patch
Copy the patch from where you downloaded it, to the directory containing the source directory for monodevelop-debugger-mdb-2.0, e.g (~/src/mono-126.96.36.199).
And patch the sources like this:
patch -p0 < monodevelop-debugger-mdb-2.0.mono-debugger-188.8.131.52.patch
The resulting output output should be something similar to this:
anirothan@lapitop:~/src/mdb-patch/original$ patch -p0 < monodevelop-debugger-mdb-2.0.mono-debugger-184.108.40.206.patch patching file monodevelop-debugger-mdb-2.0/Mono.Debugging.Server.Mdb/RuntimeInvokeManager.cs anirothan@lapitop:~/src/mdb-patch/original$
Now you can confiure & make & make install the sources as usual.