From: Ole M. H. <li...@ha...> - 2004-04-12 00:02:47
|
Hello! Thanks for your help, but unfortunately I've done that already, and it does not help... Any other tips? Ole Morten Haaland -----Original Message----- From: Ray Olszewski <ra...@co...> To: lir...@li... Date: Sun, 11 Apr 2004 16:43:19 -0700 Subject: Re: Problem with compiling under Debian Linux > At 01:01 AM 4/12/2004 +0200, Linux wrote: > >Hello! > > > >First of all, I am quite new to linux, so if anyone answers, please > >explain things step by step. Thanks! > > > >I have a serious problem compiling Lirc under my Debian Linux > computer. > >Every time, the "make"-command fails with an error message similar to > >this: > > > >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/lirc-0.6.6' > >Making all in drivers > >make[2]: Entering directory `/root/lirc-0.6.6/drivers' > >Making all in lirc_serial > >make[3]: Entering directory `/root/lirc-0.6.6/drivers/lirc_serial' > >Makefile:378: /usr/src/linux//Rules.make: No such file or directory > >make[3]: *** No rule to make target `/usr/src/linux//Rules.make'. > Stop. > >make[3]: Leaving directory `/root/lirc-0.6.6/drivers/lirc_serial' > >make[2]: *** [all-recursive] Error 1 > >make[2]: Leaving directory `/root/lirc-0.6.6/drivers' > >make[1]: *** [all-recursive] Error 1 > >make[1]: Leaving directory `/root/lirc-0.6.6' > >make: *** [all] Error 2 > > > >I've tried with kernels 2.4.22 (which was the original kernel for my > >installation), 2.6.3 (installed with apt-get) and 2.6.5 > (self-compiled). > >I've tried to apt-get lirc, with version 0.6.6 and from CVS-version > >0.7.0pre4. Every time it fails, with an error message similar to the > one > >above. > > > >I will be very thankful for any tips on what might be wrong, and what > I > >can do to fix it. If you need any more info, please ask, and I will > >answer my best. Thanks! > > Normally I would not make this basic a suggestion ... but since you say > you > are "new to linux", I wonder if you have made a rookie error. When you > "self-compiled" kernel 2.6.5, did you make /usr/src/linux a symlink to > its > source directory (probably something like /usr/src/kernel-source-2.6.5, > if > your source comes from Debian packages)? If not, lirc's Makefile cannot > find the kernel source directory where it expects it to be so cannot > find > the file /usr/src/linux//Rules.make . > > Similarly, when you tried to compile for stock (kernel-image) Debian > kernels, did you first install the corresponding kernel-source-* > package > for each, then symlink it to /usr/src/linux? You need a kernel source > tree > to compile just about ANY modules, not just lirc. > > Oh, to complete the "step by step" part -- su to root, then run the > command > > ln -s /usr/src/kernel-source-2.6.5 /usr/src/linux > > except change the kernel-source-2.6.5 part to whatever is right for > your setup. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click |