[mythtv-users] Lirc - ARGH!

Emmanuel Hislen hislen at mindspring.com
Wed Feb 11 03:11:16 EST 2004


I think Axel just posted a mail about a new lirc rpm, did you see it?

Anyway If you want to compile it yourself, there should be no problem. I 
would get something more recent than 0.6.6 though.
I have 0.7.0pre2:

wget http://lirc.sourceforge.net/software/snapshots/lirc-0.7.0pre2.tar.bz2


I believe you need to have compiled your kernel once so that lirc can 
compile properly.

Use the source you got from ATrpm for your kernel. In my case:

/usr/src/linux-2.4.22-1.2163.nptl_32.rhfc1.at/

At least I would make sure I have done:

make oldconfig (if there is no .config in 
/usr/src/linux-2.4.22-1.2163.nptl_32.rhfc1.at/, get it from /boot.)
make dep

If lirc still doesn't compile, then go ahead and compile the kernel:

make bzImage


Hope this can help, good luck!


Emmanuel.


Gabe Knuth wrote:

> Ok, so I’ve followed Jarod’s HowTo and it has worked 
> beautifully…except for the LIRC part. When I run “apt-get install 
> lirc-kmdl-$MYKERNEL”, I am given the following error:
>
> ------------
>
> [root at localhost]# apt-get install lirc-kmdl-$MYKERNEL
>
> Reading Package Lists... Done
>
> Building Dependency Tree... Done
>
> E: Couldn't find package lirc-kmdl-2.4.20-8
>
> [root at localhost]# rpm -q up2date
>
> ------------
>
> Consider me baffled. Do I need to upgrade the kernel (please say no), 
> or is there something I can do to get the right version. Can I cheat 
> and just say that $MYKERNEL = something that exists already?
>
> I’ve also tried to download LIRC from SourceForge (version 0.6.6) and 
> get all sorts of errors after running make. The output from make looks 
> like this:
>
> -------------
>
> [root at localhost lirc-0.6.6]# make
>
> cd . \
>
> && CONFIG_FILES= CONFIG_HEADERS=config.h \
>
> /bin/sh ./config.status
>
> config.status: creating config.h
>
> config.status: config.h is unchanged
>
> make all-recursive
>
> make[1]: Entering directory `/root/downloads/lirc-0.6.6'
>
> Making all in drivers
>
> make[2]: Entering directory `/root/downloads/lirc-0.6.6/drivers'
>
> Making all in lirc_serial
>
> make[3]: Entering directory 
> `/root/downloads/lirc-0.6.6/drivers/lirc_serial'
>
> DIR=`pwd`; (cd /usr/src/linux-2.4.20-8/; make SUBDIRS=$DIR 
> obj-m=lirc_serial.o modules)
>
> /usr/src/linux-2.4.20-8/scripts/pathdown.sh: line 4: TOPDIR: parameter 
> null or not set
>
> make[4]: Entering directory `/usr/src/linux-2.4.20-8'
>
> make[4]: *** No rule to make target `lirc_serial.o', needed by 
> `modules'. Stop.
>
> make[4]: Leaving directory `/usr/src/linux-2.4.20-8'
>
> make[3]: *** [lirc_serial.o] Error 2
>
> make[3]: Leaving directory 
> `/root/downloads/lirc-0.6.6/drivers/lirc_serial'
>
> make[2]: *** [all-recursive] Error 1
>
> make[2]: Leaving directory `/root/downloads/lirc-0.6.6/drivers'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/root/downloads/lirc-0.6.6'
>
> make: *** [all] Error 2
>
> -------------
>
> Sorry for all the pastes, but I’m just grasping now. I’ve gone just a 
> tad beyond my linux abilities here, although I’m learning a lot 
> (especially while trying to get XMLTV to work without using apt-get!)
>
> As usual, any help is greatly appreciated.
>
> Thanks,
> Gabe
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>






More information about the mythtv-users mailing list