LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2003, 07:24 AM   #1
rover
LQ Newbie
 
Registered: Sep 2003
Posts: 23

Rep: Reputation: 15
Question Kernel Compiling not possible, Directory /usr/src/linux-2.4 isn't there


I installed RH 9 and I'm trying to recompile the kernel

According to the books I bought (RH 9.0) there should be a directory /usr/src/linux-2.4. But if I'm looking in the directory /usr/src, I only see a directory called debug.

Can anyone tell me how I should solve this problem. Why isn't it there?
 
Old 09-23-2003, 07:27 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
yes that means you didn't install it..
so either get it off your distros cd's, or use the graphical tool for packages in redhat and install development tools which will also require your distros cds, but its easier this way, if you can't find it, just type redhat-config-packages in the terminal and it will fire up... (recommended)
or go to www.kernel.org (or anywheres you find the source) and extract it to that folder...

Last edited by DrOzz; 09-23-2003 at 07:28 AM.
 
Old 09-23-2003, 10:52 AM   #3
velska
Member
 
Registered: Aug 2003
Location: Finland
Distribution: Fedora 14, Ubuntu 10.4 LTS
Posts: 65

Rep: Reputation: 15
like the man said

you need to install the source files before you have that directory. one of my hard-earned lessons
 
Old 09-24-2003, 07:43 AM   #4
rover
LQ Newbie
 
Registered: Sep 2003
Posts: 23

Original Poster
Rep: Reputation: 15
I'm new to this. Could you tell me which package I should install and how I should do this?
 
Old 09-24-2003, 08:05 AM   #5
rover
LQ Newbie
 
Registered: Sep 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Smile

Thanks everyone. you solved the problem for me.
I got a answer from another Linux forum how to install it.
 
  


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
updating kernel, no '/usr/src/linux' directory? rubbercash SUSE / openSUSE 2 04-30-2005 01:00 PM
cd /usr/src cd linux no such file or directory Peacedog Slackware 2 12-31-2003 03:20 PM
compiling a kernel somewhere other than /usr/src h/w Linux - Newbie 4 09-07-2003 06:34 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM
no kernel in usr/src/Linux elite Linux - General 11 10-28-2002 05:10 AM

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

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