Dahdi asterisk no module so not picking up call

Hello,
I have been trying this for more than a week to work my sangoma with asterisk.
what happen is i found there is no chan_dahdi.so file in module dir.
if i again reinstall asterisk i dont see any chan_dahdi in channel drivers
under make menu select command.

Asterisk is not compiling chan_dahdi.so

what will i do in this case?
I migh have to delete previous ast install source tree but how will i delete
source tree? Just deleting the folder will it do?

Please help

Hi,

Are you building from source ? you need to compile and install dahdi-linux, dahdi-tools and libpri before trying to compile asterisk.

Hope this helps,