Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
|
03-07-2005, 06:27 AM
|
#1
|
Member
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108
Rep:
|
make???
Hi,
I am trying to run the following commands that allows you to customize the kernel :_
make config
make menuconfig
make xconfig
But the problem is that they dont run and i get an error message that says
make: *** No rule to make target `xconfig'
make: *** No rule to make target `config'
make: *** No rule to make target `menuconfig'
Are there any specific packages that need to be installed? Please Help
|
|
|
03-07-2005, 06:45 AM
|
#2
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
hi there,
i think you forgot
if this command returns "directory not found", then you need to install the kernel source in your machine.
regards
slackie1000
|
|
|
03-07-2005, 07:25 AM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
If yuou are installing a custom kernel change into the directory of the extracted kernel and then run those commands, eg
$cd /usr/src/linux-2.6.11
#make xconfig
|
|
|
03-07-2005, 07:58 AM
|
#4
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
Quote:
Originally posted by reddazz
If yuou are installing a custom kernel change into the directory of the extracted kernel and then run those commands, eg
$cd /usr/src/linux-2.6.11
#make xconfig
|
reddazz,allow me to comment something here.
i would suggest to use a symlink to linux-2.6.11
Code:
cd /usr/src
ln -s linux-2.6.11 linux
some patches will look direct to /usr/src/linux. if you leave your kenel source somewhere else, or you have the symlink pointing to the wrong kernel, applying a pacth can bring a big mess to the system.
regards
slackie1000
|
|
|
03-07-2005, 08:22 AM
|
#5
|
Member
Registered: Feb 2005
Location: India
Distribution: RHEL 3
Posts: 108
Original Poster
Rep:
|
Hi Slackie,
u r right. I dont have the kernel source files. Will install those. Thanks
|
|
|
03-07-2005, 10:46 AM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally posted by slackie1000
reddazz,allow me to comment something here.
i would suggest to use a symlink to linux-2.6.11
Code:
cd /usr/src
ln -s linux-2.6.11 linux
some patches will look direct to /usr/src/linux. if you leave your kenel source somewhere else, or you have the symlink pointing to the wrong kernel, applying a pacth can bring a big mess to the system.
regards
slackie1000
|
I agree with you and usually do that myself.
|
|
|
All times are GMT -5. The time now is 11:48 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
|
|