Dahdi - You do not appear to have the sources for the kernel installed.
******************************Error : You do not appear to have the sources for the kernel installed
******************************
While installing Dahdi you might get the above error.
follow the below steps to get rid of this issue
- check the kernel version by typing uname -r for eg : # uname -r
- 6.18-194.3.1.el5 2.and check the actual kernel version by running yum install kernel
- if the versions are different copy the actual kernel version
- go to /boot/grub/grub.conf
- at last line change the kernel version to latest
- reboot
- go to Dahdi downloded directory
- make clean
- make all
- make install
- make config
OR
*******************************
ln -s /usr/src/kernels/2.6.32-573.12.1.el6.x86_64/ build
reboot
reinstall dahdi
**************
OR
************
cd /usr/src/asterisk/dahdi-linux-complete-3.1.0+3.1.0/
vi /usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/include/dahdi/kernel.h
change #include: </linux/pci-aspm.h> to </linux/pci.h>
make
make install
make install-config
cd tools
make clean
make
make install
make install-config
Also See:
Digium cards installation ClickHere
Sangoma cards installation ClickHere
vicidial scratch install in centos ClickHere