Setup the build environment
Because we are installing from source, they (the source files) will rely on other components of the operating system. The build environment sets up those other components so there wont be errors during the building of the source.
Install build environment
aptitude install linux-source
aptitude install kernel-package
aptitude install g++
aptitude install libncurses5-dev
aptitude install linux-kernel-headers
aptitude install sqlite
aptitude install libnewt-dev
aptitude install libusb-dev
aptitude install zlib1g-dev
aptitude install libmysqlclient15-dev
aptitude install libsqlite0-dev
Now we configure the linux-source that we just downloaded, the other apps have been already been configured by Debian.
configure source
cd /usr/src
tar -xjf linux-source-(version)
ln -s /usr/src/linux-source-(version) /usr/src/linux
cd /usr/src/linux
make oldconfig
make prepare
make prepare scripts
Congratualtion..! on setting up the build environment. As well begin is said to be Half Done.Lets Move on to next module and compile the application in Milestone 3

[...] This is what we need to install asterisk. Lets Move on Milestone 2 [...]