[ATrpms-devel] lirc kmdl build...?

John Robinson john.robinson at anonymous.org.uk
Wed Dec 12 12:12:36 CET 2007


I'm probably being stupid, or just don't know the right magic, but how 
should I go about building the lirc kmdl package? I need to because I've 
built my own kernel rpms.

I'm using CentOS 5, I've installed atrpms-rpm-config-168-1.noarch.rpm 
and am trying to follow instructions from 
http://people.atrpms.net/~pcavalcanti/LCG_kernel_modules.html in 
particular using bkmdl.sh, but the build seems to go on forever, 
presumably in circles. I've spotted the following FATAL in the output:

Making install in lirc_serial
make[1]: Entering directory 
`/home/john/rpmbuild/BUILD/lirc-0.8.3/drivers/lirc_serial'
make[2]: Entering directory 
`/home/john/rpmbuild/BUILD/lirc-0.8.3/drivers/lirc_serial'
test -e /home/john/rpmbuild/BUILD/lirc-0.8.3/buildroot/serial/dev/lirc 
|| (/home/john/rpmbuild/BUILD/lirc-0.8.3/install-sh -d 
/home/john/rpmbuild/BUILD/lirc-0.8.3/buildroot/serial/dev && 
/home/john/rpmbuild/BUILD/lirc-0.8.3/fake_mknod/mknod 
/home/john/rpmbuild/BUILD/lirc-0.8.3/buildroot/serial/dev/lirc c 61 0)
WARNING mknod called with
mknod
/home/john/rpmbuild/BUILD/lirc-0.8.3/install-sh -d 
/home/john/rpmbuild/BUILD/lirc-0.8.3/buildroot/serial/lib/modules/2.6.18-53.1.4.el5.JR_nopaexen/updates/drivers/lirc
  /usr/bin/install -c -m 644 lirc_serial.ko 
/home/john/rpmbuild/BUILD/lirc-0.8.3/buildroot/serial/lib/modules/2.6.18-53.1.4.el5.JR_nopaexen/updates/drivers/lirc/lirc_serial.ko
/sbin/depmod -a
FATAL: Could not open 
/lib/modules/2.6.18-53.1.4.el5.JR_nopaexen/modules.dep.temp for writing: 
Permission denied
make[2]: [install-data-local] Error 1 (ignored)
make[2]: Leaving directory 
`/home/john/rpmbuild/BUILD/lirc-0.8.3/drivers/lirc_serial'
make[1]: Leaving directory 
`/home/john/rpmbuild/BUILD/lirc-0.8.3/drivers/lirc_serial'

What to do?

Many thanks in advance,

Cheers,

John.



More information about the atrpms-devel mailing list