I have applied a patch to the spec for a digium srpm, dahdi-linux-kmod-2.2.1.1-1_centos5.2.6.18_164.15.1.el5.src.rpm and have what I thought was all I needed for deps: # rpm -qa |grep kernel kernel-devel-2.6.18-164.15.1.el5 kernel-2.6.18-164.15.1.el5 kernel-headers-2.6.18-164.15.1.el5 kernel-xen-devel-2.6.18-164.15.1.el5 yet the build fails with: You do not appear to have the sources for the 2.6.18-164.15.1.el5-xen kernel installed. # ll /usr/src/kernels/ total 8 drwxr-xr-x 19 root root 4096 Mar 24 04:41 2.6.18-164.15.1.el5-x86_64 drwxr-xr-x 19 root root 4096 Mar 29 18:25 2.6.18-164.15.1.el5-xen-x86_64 lrwxrwxrwx 1 root root 30 Mar 29 18:25 2.6.18-164.15.1.el5xen-x86_64 -> 2.6.18-164.15.1.el5-xen-x86_64 Anyone know what I might be doing wrong? Thanks! jlc
On Mon, Mar 29, 2010 at 5:51 PM, Joseph L. Casale <jcasale at activenetwerx.com> wrote:> I have applied a patch to the spec for a digium srpm, > dahdi-linux-kmod-2.2.1.1-1_centos5.2.6.18_164.15.1.el5.src.rpm > and have what I thought was all I needed for deps:(snip)> Anyone know what I might be doing wrong?Instead of building it yourself, you may want to try kmod-dahdi-2.2.1.1-1.el5 from ELRepo: http://lists.elrepo.org/pipermail/elrepo/2010-March/000256.html (released 2 days ago) It is kernel version independent and kABI-tracking, so there is no need to rebuild for each kernel update. Akemi