[mythtv-users] OT: lirc-0.7.0pre2 installation confusion

James Pifer jep at obrien-pifer.com
Mon Nov 17 15:51:43 EST 2003


Thanks, that was just the kind of answer I was looking for. I have the
source installed. I run the commands like you suggested:

make oldconfig
make dep
make mrproper
make
********** No errors so far ***********
********** From here I have some trouble **************
[root at mythtv linux-2.4]# make modules
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -r -f tmp_include_depends all
make[1]: Entering directory `/usr/src/linux-2.4.20-20.9'
make[1]: tmp_include_depends: No such file or directory
make[1]: *** No rule to make target `tmp_include_depends'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.4.20-20.9'
make: *** [tmp_include_depends] Error 2
[root at mythtv linux-2.4]# cd /install/lirc*
[root at mythtv lirc-0.7.0pre2]# make
make  all-recursive
make[1]: Entering directory `/install/lirc-0.7.0pre2'
Making all in drivers
make[2]: Entering directory `/install/lirc-0.7.0pre2/drivers'
Making all in lirc_dev
make[3]: Entering directory `/install/lirc-0.7.0pre2/drivers/lirc_dev'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/install/lirc-0.7.0pre2/drivers/lirc_dev'
Making all in lirc_i2c
make[3]: Entering directory `/install/lirc-0.7.0pre2/drivers/lirc_i2c'
DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_i2c.o
modules)
/usr/src/linux-2.4.20-20.9/scripts/pathdown.sh: line 4: TOPDIR:
parameter null or not set
make[4]: Entering directory `/usr/src/linux-2.4.20-20.9'
make -r -f tmp_include_depends all
make[5]: Entering directory `/usr/src/linux-2.4.20-20.9'
make[5]: tmp_include_depends: No such file or directory
make[5]: *** No rule to make target `tmp_include_depends'.  Stop.
make[5]: Leaving directory `/usr/src/linux-2.4.20-20.9'
make[4]: *** [tmp_include_depends] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.20-20.9'
make[3]: *** [lirc_i2c.o] Error 2
make[3]: Leaving directory `/install/lirc-0.7.0pre2/drivers/lirc_i2c'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/install/lirc-0.7.0pre2/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/lirc-0.7.0pre2'
make: *** [all] Error 2
[root at mythtv lirc-0.7.0pre2]#

Are those run in the right order? Any ideas?

Thanks,
James

On Mon, 2003-11-17 at 15:10, Christopher Pond wrote:
> I just did that exact thing this past weekend. Here's what I did:
> 1) Make sure you installed the kernel sources package. You need it.
> 2) Build the kernel from /usr/src/linux-2.4 with:  "make oldconfig",
> "make dep", "make mrproper", "make" and "make modules". Note -- you do
> not need to install the kernel, just make it.
> 3) Make sure the installed lirc rpm is removed. I did "rpm -e --nodeps
> lirc"
> 4) Go to your lirc directory, and make it, then do a "make install".
> 5) Copy the lircd.conf.hauppauge config file from remotes/hauppauge to
> /etc/lircd.conf
> 6) start lircd by typing "lircd". Make sure it starts correctly by
> looking at the /var/log/lircd file. It should say something like:  Nov
> 16 15:44:01 aion1000 lircd 0.7.0pre2: lircd(hauppauge) ready
> 7) start irw like:  ./tools/irw   Then try out pressing buttons on
> your remote. It should output button-presses to the console. If not,
> there is likely some version conflict between lircd and irw. Make
> absolutely sure the version of irw you are using was built with the
> version of lircd.
> 8) If all the above works, then make sure you build mythtv with
> "Native lirc support" -- which is just a simple change in the
> settings.pro file.
> 9) Copy the mythtv configfiles/hauppauge-lircrc-nativelirc file to
> ~/.mythtv/lircrc
> 10) startup mythfrontend. The remote should now work fine!
> 
> Christopher Pond
> 
> On Mon, 2003-11-17 at 15:05, James Pifer wrote: 
> > I posted this on the lirc list, but that list doesn't get much action 
> > so I thought I would send it here too. 
> > 
> > I had a thread on lirc about trying to get lirc working with my Hauppauge 
> > 350 grey remote. Someone was trying to help me, but I was not able to get
> > it working on that machine. So, I installed RH9 another machine and I'm
> > trying to get it working. I find the instructions on the lirc web site
> > confusing. 
> > 
> > I run ./setup.sh and go through the setup. When I run "Save
> > Configuration & Run Configure" I get a message back at the end that I
> > need the kernel module and run 'make' and 'make install'. If I run make
> > right here I just get errors.
> > 
> > So I add the alias line to /etc/modules.conf per the lirc site: 
> > alias char-major-61 lirc_driver
> > Then restart. 
> > 
> > If I run the setup again I get the same thing. What am I supposed to do? I 
> > have not installed anything but the OS on this machine. I figured once I got
> > lirc working then I would move on with mythtv, etc. 
> > 
> > Help is appreciated. Thanks,
> > James
> > 
> > ____________________________________________________________________
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> 
> ______________________________________________________________________
> _______________________________________________
> 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