Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-25-2004, 02:37 PM   #1
Registered: Oct 2003
Location: USA
Distribution: Xubuntu, Arch
Posts: 231

Rep: Reputation: 31
no suitable configured kernel include tree found

I'm using Debian for the first time today.

I installed Sarge (on my laptop), & selected "desktop environment" so it downloaded & installed 650 packages. No problems with the installation, I modified XF86Config-4 slightly so the display & mouse are working fine.

I realized that the installer didn't install make, gcc, g++, so I used apt-get and installed them.

I need brickOS to program a Lego RCX for my Intro. to Robotics class, so I installed binutils-h8300, gcc-h8300, and brickos-, all successfully.

But I'm stuck at trying to install the legousbtower-0.5.4 driver (for the IR tower that communicates with the Lego RCX). When I executed the configure script to install this module, it fails at:
checking for kernel include tree... configure: error: no suitable configured kernel include tree found
I'm guessing that I need to install the kernel-source, so I tried
apt-get -s install kernel-source-2.4.26
and it looks like that will do it (without the -s option), but the output says:
Suggested packages:
libncurses-dev kernel-package
The following NEW packages will be installed:
Does that mean that I should ALSO do:
apt-get install libncurses-dev
apt-get intall kernel-package

What are they? What are they for?

Last edited by r.stiltskin; 09-25-2004 at 02:55 PM.
Old 09-25-2004, 05:10 PM   #2
Registered: Oct 2003
Location: USA
Distribution: Xubuntu, Arch
Posts: 231

Original Poster
Rep: Reputation: 31
Update to my question:

I got the kernel-source but that didn't solve the problem.
I figured out that the configure script to install the legousbtower.o driver is looking for a file "autoconf.h".

I found that file, not in the kernel-source package, but in /usr/include/linux/ & I figured out how to feed that path to the configure script, so it got past that problem.

Next, the script looks for a Makefile in that directory, which it doesn't find, so it says
warning: not found - using default flags

Next, the script check the kernel version. In /usr/include/linux/version.h it finds:
#define UTS_RELEASE "2.6.0-test 7"
and outputs:
[code]configure: error: Unsupported kernel version


Why this discrepancy in version.h?
Old 09-25-2004, 05:20 PM   #3
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
apt-get install kernel-headers-`uname -r`
Old 09-26-2004, 08:55 AM   #4
Registered: Oct 2003
Location: USA
Distribution: Xubuntu, Arch
Posts: 231

Original Poster
Rep: Reputation: 31
Thanks, zuralin. That did it.
Old 08-02-2005, 03:37 PM   #5
LQ Newbie
Registered: Oct 2004
Location: Buenos Aires, Argentina
Distribution: Fedora Core 2; Debian
Posts: 25

Rep: Reputation: 15
specific instructions

For those who were looking for help in this post, here's what I specifically did to direct configure to my files:
Search for KINC and KSRC, and you'll probably find if clauses that set those variables. What I did was comment them and add, afterwards, KINC="/usr/include" and KSRC="/usr/src/somekernelnumber"
If there's something wrong, please tell me. However, this way I managed to get up to "kernel version not supported"


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
dose redhat el as 3.0 include the commadn tree? nehc Red Hat 0 01-15-2005 09:51 PM
Linux Kernel Source Tree Not found pzearfoss Linux - General 6 12-28-2004 02:16 PM
no screens found but X configured properly??? Lbtg43 Linux - Newbie 3 10-11-2004 01:04 AM
linux kernel source tree not found whats wrong? vavoem Linux - Hardware 6 08-02-2004 07:35 AM
Installation Tree Not Found? kstahl Linux - Software 9 03-28-2004 10:53 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:50 PM.

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