Compiling Mono 2.2 from souces in Ubuntu 8.10

Update: The original link is gone now. I found a clone and Freezing it.

In general, follow this  but keep in mind:

My installation path is to /usr (not /usr/local).

To install libgdiplus: use X11 headers installing libx11-dev, and libfontconfig1-dev, libxft-dev