LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-17-2004, 09:25 PM   #1
Rav3n
Member
 
Registered: Jul 2003
Location: Portugal
Distribution: Debian
Posts: 36

Rep: Reputation: 15
Arrow Problem with make xconfig


Hi again everyone,

since i've managed to solve my other problem i now have a new one. I googled it, but it seems that i've a unique problem :P

So, i've done
Quote:
1- apt-get install kernel-source-2.6.7
2- cd /usr/src
3- tar xvfj kernel-source-2.6.7.tar.bz2
4- ln -s /usr/src/kernel-source-2.6.7 /usr/src/linux
5- cd /usr/src/linux
6- make xconfig
and i get the following error:
Quote:
make: *** no rule to make target 'xconfig'
Thanks in advance

Last edited by Rav3n; 07-17-2004 at 09:39 PM.
 
Old 07-17-2004, 09:35 PM   #2
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
3- tar xvfj kernel-source-2.6.7.tar.bz2
4- ln -s /usr/src/kernel-source-2.6.6 /usr/src/linux

you are linking the wrong directory? line 4 should be ...source-2.6.7...?
 
Old 07-17-2004, 09:38 PM   #3
Rav3n
Member
 
Registered: Jul 2003
Location: Portugal
Distribution: Debian
Posts: 36

Original Poster
Rep: Reputation: 15
It was a type error, sorry. hehe
 
Old 07-18-2004, 07:04 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
In the earlier thread http://www.linuxquestions.org/questi...hreadid=206064 you say this:

Quote:
I don't have X, because i can't get it my mouse to work. The reason i want to update the kernel is simply to get my mouse to work.
I'm a bit confused why you need to COMPILE a new kernel just to get mouse support. If getting your mouse to work just requires a newer kernel version, an alternative (and perhaps easier) approach would be to simply install a precompiled kernel-image package.


But regarding your actual question, the steps you've taken seem to be correct (I haven't compiled many 2.6.x kernels but this HOWTO http://www.desktop-linux.net/debkernel.htm recommends the same steps), except that you cannot do "make xconfig" in step 6 if you're working in console -- do "make menuconfig" instead. (You may need to install the libncurses5-dev package for this.)

If "make menuconfig" produces similar error message, it's possible that you've made a slight mistake in the course of the journey -- a typo or something. To rule out this possibility of human error you can remove all files, symlinks, and directories from /usr/src except the kernel-source-2.6.7.tar.bz2 file that apt-get created.

Now you can "su" to root and follow steps 2-6 as carefully as possible, double-checking that you don't have typos and that every command produces the desired results (launching Midnight Commander after every step is a handy way to get a "graphical" overview of what's going on in your working directory).

If the factor of human error is ruled out and step 6 ("make menuconfig") still gives an error message, it's time to REALLY start considering alternative solutions.

Last edited by Dead Parrot; 07-18-2004 at 07:21 AM.
 
Old 07-18-2004, 07:42 AM   #5
Rav3n
Member
 
Registered: Jul 2003
Location: Portugal
Distribution: Debian
Posts: 36

Original Poster
Rep: Reputation: 15
Question

Hi and thanks for replying,

1- what's the difference between precompiled kernel package and the normal kernel package?
2- Can i get it through apt-get?

Thanks in advance .
 
Old 07-18-2004, 10:13 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Well, the basic difference between a kernel-source package and a kernel-image package is that after downloading a kernel-source package you first need to configure and compile a binary package from this source and then install it while a kernel-image package has already been compiled for your convenience and you can simply do "apt-get install kernel-image-[version]" and that's about it (although you need to make sure that your boot loader recognizes your new kernel before you can actually use it).

Building kernel from source allows you to control what drivers and modules are included in the resulting kernel but it takes some effort to configure and compile the kernel. Installing a precompiled kernel-image is easier but if the drivers or modules that your hardware needs are not included in the kernel-image, then it's tough luck. As usual in Debian, you have here several options and you can choose the one that best suits your needs. Here are two documents you may find interesting:


http://www.thing.dyndns.org/debian/kerneldeb.htm

http://www.cs.utexas.edu/users/suriy...migration.html

Last edited by Dead Parrot; 07-18-2004 at 10:14 AM.
 
  


Reply



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
make xconfig problem Elessar18 Debian 4 03-14-2005 10:25 AM
make xconfig problem dhave Linux - General 5 12-27-2004 06:49 AM
make xconfig, xconfig with weird words pakkua80 Fedora - Installation 3 11-17-2004 06:19 AM
Problem running make xconfig The GingerNinja Linux - Newbie 2 08-23-2004 08:45 AM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration