LinuxQuestions.org
Visit Jeremy's Blog.
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-16-2004, 01:43 AM   #1
nyhm
LQ Newbie
 
Registered: Feb 2004
Location: south texas
Distribution: slackware
Posts: 26

Rep: Reputation: 15
Cant locate kernel-source to build my Nvidia driver


Im running Fedora.

I downloaded the device driver for my Nvidia card. I tried to install it but it couldnt locate my "kernel-source" so a friend of mine told me to do a

yum install kernel-source

I did and now i have something in my /usr/src .... i thought that would have taken care of it but i tried to do the expert set up and even direct it to the new folder paths but it didnt do jack.. any help would be greatly appreciated! thanks in advance!

 
Old 02-16-2004, 02:27 AM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
The kernel source comes with you CDs. You just have not installed them becuase they are not installed by default.

insert CD 1 into your drive and you will be presented with the Add/remove programs window (I think, do in RED HAT 9 anyway). You will find it in there somewhere.
 
Old 02-16-2004, 02:41 AM   #3
nightwulf
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
In Slackware, the file you're looking for is "kernel-source-2.4.24-noarch-1" which is located in the "K" series of software. Depending on when you obtained your installation files, the version number may be different. You should be able to install it using pkgtool or installpkg from your original installation media.

EDIT: never mind ... you have Slackware listed in your user profile, but mention in your post that you're running Fedora. Reading comprehension > me. The rest of the post might actually be of use though ...

You say you have "something" in /usr/src ... care to elaborate? The package installs to "/usr/src/linux-2.4.xx". You may try simlinking "linux" to that directory. For example ...

If your linux source is located in /usr/src/linux-2.4.24 ...
Code:
su
(password)
cd /usr/src
ln -s linux-2.4.24 linux
exit
This will make your kernel sources available at /usr/src/linux as well, which is where they're often expected to be.

Regards,
nightwulf

Last edited by nightwulf; 02-16-2004 at 02:43 AM.
 
Old 02-16-2004, 04:48 PM   #4
nyhm
LQ Newbie
 
Registered: Feb 2004
Location: south texas
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 15
I did the

su
(password)
cd /usr/src
ln -s linux-2.4.24 linux
exit

and then tried to install.. it seem to be doing alright but then gave me an error and told me to go to the /var/log/invidia-installer.log for more details.

I checked the log and it said that it failed a sanity check??? What exactly do i do here?

Thanks (again!) in advance.





Adding to my post......

i saw on another post that typeing this before the sh install
export CC=gcc32
would fix my problem. i tried it and it looked like it was working ( i saw the the loading bar finish all the way) then after that it gave me some error about a path /usr/src/nv/nvidia (i think that's the path it said) and a problem w/ an nvidia.o ???

just thought id keep up to date on that... please someone give me a reply. Thanks!

Last edited by nyhm; 02-16-2004 at 05:44 PM.
 
  


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
Installing NVIDIA Driver --- Kernel Source ??? aratis Red Hat 4 06-29-2005 08:07 PM
Trying to get 1280x800, need kernel source for nvidia driver Zonzhal Linux - Laptop and Netbook 6 03-23-2005 09:16 AM
Nvidia Driver Kernel Source SparkerR Linux - Hardware 1 09-29-2004 09:29 PM
Nvidia Driver can't find kernel source Forezt Fedora 9 04-20-2004 07:35 PM
Nvidia Driver Install/Kernel Source Problem Brian of Gep Debian 6 03-14-2004 06:27 PM


All times are GMT -5. The time now is 06:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration