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. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
