Displaying 2 results from an estimated 2 matches for "localrpm".
Did you mean:
localrpy
2010 Feb 16
1
Cannot built kmod-dahdi-linux for PAE kvariant from SRPM
...um cannot see it. Instead I used wget to download dahdi-linux-kmod-2.2.1-1_centos5.2.6.18_164.11.1.el5.src.rpm, installed in a local build area and tried to build it.
I installed the correct devel packages, that is both kernel-devel and kernel-PAE-devel. To begin with I just tried
rpmbuild --bb ~/localrpms/SPECS/dahdi-linux-kmod.spec
but that fails as the spec file relies on the internally defined kernel version
error: Failed build dependencies:
kernel-devel = 2.6.18-164.11.1.el5 is needed by dahdi-linux-kmod-2.2.1-1_centos5.2.6.18_164.11.1.el5.i386
A brief inspection of the spec file...
2011 May 06
0
Cannot built kmod-dahdi-linux for PAE kvariant from SRPM
...r many moons I have revisited this problem and found a solution that moves the problem further up the stack. I will post my new problem separately but just for completeness here is the solution.
Original problem: trying to build kmod-dahdi-linux for out of date PAE kernel.
Errors:
rpmbuild --bb ~/localrpms/SPECS/dahdi-linux-kmod.spec --target=i686 --define "kversion `uname -r`"
+ make KVERS=2.6.18-128.el5xen modules
You do not appear to have the sources for the 2.6.18-128.el5xen kernel installed.
make: *** [modules] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.78040 (%build)...