LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-06-2009, 11:46 AM   #1
mad4linux
Member
 
Registered: Aug 2003
Distribution: Debian Testing / kubuntu
Posts: 84

Rep: Reputation: 15
lirc doesn't compile using m-a a-i


Hello everybody.

I've installed lirc and lirc-modules-source on lenny

I followed the instructions in the readme.debian file.
But sadly, lirc-modules don't compile against kernel 2.6.26-2-686!

I did a fuul update today before trying to install lirc and have kernel 2.6.26+17+lenny1 installed.

Here is what i tried on the command line:
Code:
cd /usr/src
tar -xjf lirc-modules.tar.bz2
dpkg-reconfigure lirc-modules-source
m-a update
m-a prepare
m-a a-i lirc
I've configured lirc-modules-source to just build the i2c package, which is the one i need.

m-a a-i lirc fails after this message
Code:
Entering directory '/usr/src/linux-headers-2.6.26-2-686'
ERROR: Kernel configuration is invalid. 
include/linux/autoconf.h or include/config/auto.conf are missing
Run 'make oldconfig && make prepare' on kernel src to fix it.
But both files do exist. The make oldconfig stuff doesn't help either.
I've also tried to
Code:
export CC=gcc-4.1
before invoking m-a. Didn't help nothing as well.
Any hint is appreciated!

Last edited by mad4linux; 07-06-2009 at 11:47 AM. Reason: more details
 
Old 07-06-2009, 11:55 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 119Reputation: 119
Looking at lirc-modules-source description: It says the full kernel sources need to be installed to compile this package. Did you install the kernel source package? (headers alone might not be enough)

Quote:
Code:
Entering directory '/usr/src/linux-headers-2.6.26-2-686'

Last edited by vharishankar; 07-06-2009 at 11:59 AM.
 
Old 07-06-2009, 12:57 PM   #3
mad4linux
Member
 
Registered: Aug 2003
Distribution: Debian Testing / kubuntu
Posts: 84

Original Poster
Rep: Reputation: 15
thank you for the fast reply harishanker . I've installed the kernel-sources and un packed them as well before trying as described above.
When trying to invoke m-a like this:
Code:
m-a -k /usr/src/linux-source-2.6.26/ -l 2.6.26-2-686 a-i lirc
i get the same error message again.
 
  


Reply

Tags
debian, lirc, ma


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Feisty-LIRC wont compile. snares Ubuntu 1 05-19-2007 09:53 PM
compile LIRC w/ flyvideo lirc_gpio blue.spark Linux - Software 0 01-28-2005 04:54 AM
Ani info why LIRC 0.6.6 (0.7.0pre4) wont compile on 2.6.5 kernel (maybe 2.6.x)? buboleck Slackware 2 06-01-2004 01:08 PM
cannot compile LIRC asciimonster Linux - Software 0 04-12-2004 09:08 AM
Lirc Won't Compile Igman Linux - General 4 01-20-2004 08:08 AM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration