I had a bit of a problem compiling CVS Asterisk on Debian-Woody, but www.voip-info.org has a debian-specific page that lists the debian packages you will need to apt-get: http://voip-info.org/wiki-Linux+Debian ...after installing these, it compiled without a hitch!