LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2005, 02:07 AM   #31
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52

Quote:

ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option
what about the above seems confusing or unclear ?
 
Old 08-13-2005, 02:16 AM   #32
Orin
Member
 
Registered: Apr 2004
Location: North Carolina
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Well...let's start with the fact that I've spent a few hours trying to find the damn kernel source. And I did, with the help of some awesome people here. And I installed it. And felt manly and proud. Unfortunately, nVidia was all like "No. You're not manly. You don't get to be proud." It told me I didn't install the source. So I cried for a little bit and moved on to trying to use the --kernel-source-path command, which did not work, as the edit in the above post states.

:Edit:

Whee! Got the source to function. Sort-of. I get a new error message now:

-> Performing CC test with CC="cc".
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.


It's a step in the...uhm. Well..not sure if it's the right direction, per-se, but it's definitely a step. So what now?

Last edited by Orin; 08-13-2005 at 02:38 AM.
 
Old 08-13-2005, 02:45 AM   #33
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I'm guessing an argument to the NVIDIA driver install script, so you'd do

<install script command> --kernel-source-path=/path/to/your/kernel/source

If you have /usr/src/linux symlinked to your kernel source, it should be picked up automagically.
 
Old 08-13-2005, 02:45 AM   #34
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
DISCLAIMER: I have never tried anything as deep (at least it seems deep to me) as what you are trying to do. This is the result of a few random thoughts that I have had sense reading your threads.

The "--" usually indicates a command line switch in linux (add on option for a command). So, from the information that came from the page with the directions that you got your source code from, I would think that your command would read like this....

WhateverYourInstallCommandIs --kernel-source-path /usr/src/redhat/BUILD/kernel-*.*.*/

substituting the *'s for your kernel version numbers.

Hope that works. Being defeated by your own computer really hurts the pride. We've all been there at one time or another.

*EDIT*
Whoops. I was looking up the Nvidia directions while I was writing the post and didn't hit refresh to check on the postings. Sorry about this. Disregard all.

Last edited by volvogga; 08-13-2005 at 02:50 AM.
 
Old 08-13-2005, 02:52 AM   #35
Orin
Member
 
Registered: Apr 2004
Location: North Carolina
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Yeah, I got past the --kernel-source-path bit, but it's the next problem that I'm having a real issue with. The only thing I am trying to do is install my damn video card drivers so I can run something silly like Q3 or CS1.5, or hell...even 1024x768!
 
Old 08-13-2005, 02:53 AM   #36
Orin
Member
 
Registered: Apr 2004
Location: North Carolina
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Yeah. That bit was resolved, so this thread can be locked, or whatever else.. Thanks for everyone's help.

Now on to the next problem. :|
 
Old 08-13-2005, 03:25 AM   #37
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Just something else I ran across that I thought you may be interested in, this page is supposed to describe downloading a driver that is already configured and ready to go for your kernel.

http://www.fedorafaq.org/#nvidia

and the page of the author of the RPMs that describes what they are...

http://rpm.livna.org/livna-switcher.html

May be an alternative idea anyway, unless someone knows something to be amiss with these drivers.
 
Old 08-13-2005, 04:42 AM   #38
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You need the kernel source code or kernel headers in /usr/src. Also you will need to make a symbolic link called /usr/src/linux that points to the kernel source or kernel header directory. The installer uses /usr/src/linux to find out the path to your kernel source or kernel headers. Type `ls -l /usr/src` and post the output.
 
Old 08-13-2005, 01:02 PM   #39
Orin
Member
 
Registered: Apr 2004
Location: North Carolina
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
total 8
drwxr-xr-x 7 root root 4096 Jul 13 11:44 redhat
 
Old 08-13-2005, 01:05 PM   #40
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
total 8? where is the rest of the output? You probably have to link like Electro said.
 
Old 08-13-2005, 02:20 PM   #41
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
to help future thread searchers, could you post a brief summary of the problem and solution?

thanks.

titanium_geek
 
Old 08-13-2005, 05:17 PM   #42
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Merged your two VERY closely related threads
 
Old 08-14-2005, 12:00 AM   #43
Orin
Member
 
Registered: Apr 2004
Location: North Carolina
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you for merging them. The issue was resolved with me switching to ubuntu instead of FC4. Life is now good and happy.
 
  


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




All times are GMT -5. The time now is 04:54 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration