That is the easy way to fix it
You can alternatively (instead of going through your install CD and installing all the development tools) get:
apt + Synaptic
And then use that combo of tools to install it a bit easier
As well as other dependency-hell ridden tools.