if you want to compile some source packages yourself a build environment with most usable build tools is neccessary.
In debian there is a predfined package set called build-essential which includes all of them. Use
root@devdebt # apt-get update && apt-get -y install build-essential
to install all packages alltogether