[asterisk-users] 10.0.0-rc1: dahdi doesn't see card

A J Stiles asterisk_list at earthshod.co.uk
Fri Nov 18 02:59:16 CST 2011


On Thursday 17 November 2011, eherr wrote:
> I am running into an issue installing asterisk 10.0.0-rc1
> I have centos  2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686
> i386 GNU/Linux installed.
> I am at the point of trying to install the dahdi and I am getting the error
> message when I do a make all:
> 
> You do not appear to have the sources for the 2.6.18-194.el5 kernel
> installed.
> 
> Any ideas?
> Thanks,
> --E

You need to install the kernel development package "kernel-devel", which 
provides the kernel headers.  That should be enough  (there is a series of 
packages in Ubuntu and Debian called "linux-headers-*", which are enough for 
building DAHDI).  Otherwise you may need to install the complete kernel source 
package.

See also the following link:
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

NB. As a general rule, whenever a build from source fails asking you for 
something you have installed from an .rpm  [or .deb on Debian / Ubuntu],  it 
usually means you need to install the matching -devel  [-dev]  file.

There used to be sound reasons for separating out -devel files about ten years 
ago, when downloads were measured in kilobits per second, storage was 
expensive and processor speeds were measured in megahertz.  Nowadays the 
practise is more of an annoyance, and makes building from source harder than 
it needs to be.  People who need the space saved by not having the development 
files already know what they need to delete and anyway, there are more normal 
users who occasionally need to build something than there are specialist users 
building minimalist or embedded systems.

-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list