Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-23-2003, 08:24 AM   #1
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, 08:27 AM   #2
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 (or anywheres you find the source) and extract it to that folder...

Last edited by DrOzz; 09-23-2003 at 08:28 AM.
Old 09-23-2003, 11:52 AM   #3
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, 08:43 AM   #4
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, 09:05 AM   #5
LQ Newbie
Registered: Sep 2003
Posts: 23

Original Poster
Rep: Reputation: 15

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


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

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration