compiling asterisk on debian woody
Monday, October 9th, 2006install the folowing packages with apt-get install
bison
ncurses-dev
libssl-dev
libnewt-dev
zlib1g-dev
initrd-tools
cvs
procps
then install kernel sources and unzip them in user/src
create a symbolic link named /usr/src/linux to the linux kernel sources
download asterisk sources and extract them to /usr/src
cd to the asterisk directory and run
make
make install
make samples
so now it shhould work
this whole thing i found at http://www.asteriskguru.com/tutorials/asterisk_installation_compilation_debian.html