LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-15-2006, 11:35 PM   #1
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Rep: Reputation: 31
when I type make xconfig I am told: No rule to make target `xconfig'


so, Im trying to learn how to configure my kernel. I dont know how so I am looking up old posts to get ideas. one of them said to type make xconfig in a terminal window. Doesnt work. all I get is the error:No rule to make target `xconfig. What do I do? (in KDE)
 
Old 04-15-2006, 11:50 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
"make xconfig" is used for building or rebuilding kernels. You need to be in the directory that contains the source code of the kernel when running those commands. What exactly are you trying to achieve? If you give more details of your intentions, you may get accurate responses.
 
Old 04-16-2006, 12:09 AM   #3
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Original Poster
Rep: Reputation: 31
I'm attepting to learn everthing I can about linux. I figured a good crash course would be to rebuild my kernel(yes I know I'm playing with fire), so I found a couple of guides(both outdated) and was attempting to follow them, but basically I am just trying to find a starting point. One of the reasons I am doing this is because 3d wont work on my ATI rage 128 card, Have another post on this with no responses, but probably because I didn't specify very well what the problem was. But, on to of all that I just really like figuring out new things!
 
Old 04-16-2006, 12:25 AM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If you have the kernel source installed, you can start with "make cloneconfig" to copy the contents of your current
/proc/config.gz to .config in the source tree. There is also documentation in the kernel source itself on what to do, as well as a section in the SuSE Administrators Manual.

Make sure that the kernel-docs package is installed also. It contains the kernel hackers guide. "man 9 <topic>".
You can view a manpage for a particular device then, to determine whether you need it or not.

I would recommend reading the documentation that comes with linux. For example the bashref manual, and the manual for core-utils to learn more about using linux. For the most helpful ones, I install the source rpm, apply the patches, and in the /usr/src/packages/BUILD/<package>/ subdirectory, I do a "make ps" to produce nice looking, print worthy documentaton for packages such as sed, coreutils, bash, etal.

Last edited by jschiwal; 04-16-2006 at 12:30 AM.
 
Old 04-16-2006, 01:54 AM   #5
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
Linux does not have 'cloneconfig' target. May be 'oldconfig'?
 
Old 04-16-2006, 09:57 PM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I guess you are right
Make cloneconfig is the same as:

zcat /proc/config.gz >.config
make oldconfig
 
Old 04-17-2006, 08:26 PM   #7
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Original Poster
Rep: Reputation: 31
Well, I've been doing some studying and have made the file .config (wasn't there already) in /usr/src/linux-2.6.13-15.8 And I think I have found the file I am supposed to copy to .config at /usr/src/linux-2.6.13-15.8/arch/i386 . Called defconfig.
Now, I tried to copy the file by right clicking on 'copy to' - and then finding .config . . , but the file will not copy. I'm making the assumption that I probably have to be root, which probably means being in a terminal, and I have no idea how to copy 'defconfig' to .config.in terminal. So . . .
1. Is what I am doing to make this work even correct?
2. can somebody walk me through copying the file? (i.e, where do I have to be in order to start this, and just what do I type?).
 
Old 04-17-2006, 11:21 PM   #8
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Original Poster
Rep: Reputation: 31
Ok, Is this the right way to do this? I'm getting an error message so I'm obviously doing something wrong, but what? All I get is this 'omitting directory .config' What does that mean?



sleekmason@linux:~> su -
Password:
linux:~ # cd /usr/src/linux-2.6.13-15.8
linux:/usr/src/linux-2.6.13-15.8 # cp .config /arch/i386/defconfig
cp: omitting directory `.config'
 
  


Reply


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
make: *** No rule to make target `mrproper'. Stop. dauphinfay Linux - General 6 10-16-2009 12:29 AM
make xconfig, xconfig with weird words pakkua80 Fedora - Installation 3 11-17-2004 06:19 AM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 12:13 PM
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 08:41 PM


All times are GMT -5. The time now is 11:49 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 Google+: linuxquestions
Open Source Consulting | Domain Registration