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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-16-2006, 12:35 AM
|
#1
|
Member
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347
Rep:
|
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)
|
|
|
04-16-2006, 12:50 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
"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.
|
|
|
04-16-2006, 01:09 AM
|
#3
|
Member
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347
Original Poster
Rep:
|
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!
|
|
|
04-16-2006, 01:25 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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 01:30 AM.
|
|
|
04-16-2006, 02:54 AM
|
#5
|
Member
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666
Rep:
|
Linux does not have 'cloneconfig' target. May be 'oldconfig'?
|
|
|
04-16-2006, 10:57 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
I guess you are right
Make cloneconfig is the same as:
zcat /proc/config.gz >.config
make oldconfig
|
|
|
04-17-2006, 09:26 PM
|
#7
|
Member
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347
Original Poster
Rep:
|
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?).
|
|
|
04-18-2006, 12:21 AM
|
#8
|
Member
Registered: Mar 2006
Distribution: Lilidog!
Posts: 347
Original Poster
Rep:
|
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'
|
|
|
All times are GMT -5. The time now is 01:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|