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-0.2.6.10.6, 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: Code:
checking for kernel include tree... configure: error: no suitable configured kernel include tree found Code:
apt-get -s install kernel-source-2.4.26 Quote:
apt-get install libncurses-dev and apt-get intall kernel-package ? What are they? What are they for? |
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: Code:
#define UTS_RELEASE "2.6.0-test 7" [code]configure: error: Unsupported kernel version BUT MY KERNEL VERSION IS 2.4.26! Why this discrepancy in version.h? |
apt-get install kernel-headers-`uname -r`
|
Thanks, zuralin. That did it.
|
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" |
All times are GMT -5. The time now is 12:35 PM. |