LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2003, 07:31 PM   #1
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Rep: Reputation: 15
Thumbs down Being the noob I am, I did something really dumb....


So hehe

Before I start into my genius exploits of the evening, I'd like to say that I have a back problem and also being pretty new to linux have been awake for several days in pain.

So I was the guy who started such wonderfully long and drawn out threads about "what to do when linux says things like filesystem adfs is not supported" and "what to do when you killed your mbr reinstalling xp and then linux rescued your linux but can't boot xp?"

Back in linux again- thank GOD (($*%ING WINDOWS)) I was quickly running throuhg my setup to get it back to where it was... anways I tried to do some compiling of stuff i needed to run - namely the alsa drivers... upon this, my term stops and says:

checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for kernel version... The file /lib/modules/2.4.20-8/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

So what the hell did i do wrong (because this is the first thing i've tried to compile) and how do i correct it? In a fit of mental-crapping, i also thought it might be my kernel source, so i uninstalled my kernel source only to find out, i don't know how to put it back! Red Carpet refuses to list my kernel souce!

I'm running :
[patientzero@Osirus patientzero]$ uname -r
2.4.20-8

RH9 Fresh install off the CDs, no ximian desktop or anything (yet)

Please help this sore, linidiot!

Thanks again guys, I'd be somewhere in Redmond, WA right now with several large firearms if it hadn't been for your help!

Jim

Last edited by trickykid; 12-09-2003 at 12:21 PM.
 
Old 09-10-2003, 07:45 PM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
The hint is there in the error.
"Please, install the package with full kernel sources for your distribution". It wants the source kernel. You will need to install the package so it can compile. I'm not sure in Redhat but there should be a packaging tool that will let you search. Just type in kernal and select the kernel and hit install.

Don't very exact, sorry. I use Mandrake 9.1. But you just need to install the package and you will be good to go.

Hope this helps.

 
Old 09-10-2003, 07:50 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Redmond is about 2 hours from here, and everyday I consider such things...



Ok, you need to install:
ftp://distro.ibiblio.org/pub/linux/d....20-8.i686.rpm (For P3 or better) OR
ftp://distro.ibiblio.org/pub/linux/d....20-8.i586.rpm (For P2 or less) OR
ftp://distro.ibiblio.org/pub/linux/d...0-8.athlon.rpm (Athlon Specific)

Cool
 
Old 09-10-2003, 07:56 PM   #4
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
MasterC always comes to the rescue!

;P

Thanks... seeing if this works...
 
Old 12-09-2003, 12:17 PM   #5
Nimmo
LQ Newbie
 
Registered: Dec 2003
Location: Gourock (Scotland)
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
MasterC You are a great! I am havinga similar problem which I posted a few days ago and I have spent all time since searching for the correct versions of ALSA for my copy of linux. I can't say thank you enough for solving my problems!!!!

THANK YOU THANK YOU THANK YOU!!! (hopefully 3 timesw is enough for now)

Thanks again, (ok 4 times then)
Graeme Nimmo
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
noob with a noob question phoonerorlater Linux - Newbie 2 09-29-2004 03:43 PM
3 Noob Quetions From A Noob DaveyB Slackware 20 08-11-2004 08:00 PM
Firewall help (noob really really huge noob) ProtoformX Linux - Networking 1 03-29-2004 12:19 AM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM
Really really dumb--that's me! elizabetheanera Linux - General 4 06-06-2001 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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