LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-22-2002, 11:49 PM   #1
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Rep: Reputation: 30
Compiling Linux Source


Ok......I'm using MD 8.1, doing the regular install the linux src is not loaded in the src directory. I had to load it from the cd.

My question is....when you do a configuration is it defaulted to what u have running already (ie. ReiserFS instead of the defaulted Linux install) or is it defaulted for the basic computer config.
 
Old 02-23-2002, 01:09 AM   #2
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
I'm not sure about all distros, but most packaged kernel sources that are installed with the distro are configured for the "default" kernel that gets installed. The configuration is in /usr/src/linux/.config. All of the "make config" (xconfig, menuconfig, etc.) use the .config to set up with. No .config, start from scratch. SuSE for one, provides a "make cloneconfig" which will take the config from the running kernel. They do it by putting the kernel config in /proc/config.gz. Other distros may do it differently. Look at the Makefile for the different config tags.
 
Old 02-23-2002, 02:50 AM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
To supplement what Malicious said, no one else does that trick like SuSe, but that's pretty nifty... I'm glad I'm downloading the Suse 7.3 Sparc ISO right now.

Also, I think that the default kernel source install is going to have all of the compiled source present, therefore you will have to run a make clean in order to have everything come out right. If you 'make mrpropper', it will wipe your config file. You can always save this config file elsewhere and then move it back.

The other pain about a mandrake kernel re-compile is that Mandy uses the alsa sound modules, therefore you'll have to recompile alsa again after the kernel compile in order to get sound back. They're in /usr/src/linux with the rest of it, but don't get compiled with the kernel.

Why, offhand, are you re-compiling the kernel?

Cheers

Finegan
 
Old 02-23-2002, 08:24 AM   #4
trusouthrnplaya
Member
 
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Original Poster
Rep: Reputation: 30
Quote:
[i]

Why, offhand, are you re-compiling the kernel?

Cheers

Finegan [/B]
It was something that ran across my mind while I was installing fluxbox..
 
  


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
why is compiling source programs under linux such a headache? guy24x Linux - Software 21 07-28-2005 06:04 AM
itunes source for compiling on linux? linuxdork Linux - Software 3 02-18-2005 01:56 PM
Compiling Borland c++ windows source on linux.. arun79 Linux - Software 3 10-15-2004 04:14 PM
Compiling Linux source GrandTheft *BSD 1 06-19-2003 04:16 PM
Compiling Linux Source on Mac OS X? ttge Linux - Software 2 02-26-2002 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:30 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