Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-14-09, 01:06 AM   #1
froodley
Registered User
 
Join Date: May 2009
Posts: 4
Unhappy Ubuntu NVIDIA install - source tree?

I realize this may have been addressed elsewhere, but I can't find anything, so please help if you can

I am trying to run the nvidia installer. I log out and shut down gdm, then run sudo sh NVIDIA...

It comes up and says it will have to build a kernel. Then it says it has an error finding the kernel source tree and that I need to install the kernel source. I have installed linux-source from Synaptic. I also installed a few linux-headers files that weren't.

I have also tried the EnvyNG install instead, and I get an error saying the headers for my kernel are missing and cannot be installed.

Please help!

Here's the installer log dump:

Quote:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu May 14 00:42:31 2009
installer version: 1.0.7

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
no cc version check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 180.51.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
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 and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Thanks,
froodley

Last edited by froodley; 05-14-09 at 01:07 AM. Reason: forgot log dump
froodley is offline   Reply With Quote
Old 05-14-09, 02:08 AM   #2
NvFuchs
Registered Fox
 
NvFuchs's Avatar
 
Join Date: Oct 2007
Location: Confoederatio Helvetica
Posts: 530
Default Re: Ubuntu NVIDIA install - source tree?

Quote:
Originally Posted by froodley View Post
I realize this may have been addressed elsewhere, but I can't find anything,
Yes, Stickies are hard to see, I agree.

http://nvnews.net/vbulletin/showthread.php?t=72490

Quote:
so please help if you can

I am trying to run the nvidia installer. I log out and shut down gdm, then run sudo sh NVIDIA...

It comes up and says it will have to build a kernel. Then it says it has an error finding the kernel source tree and that I need to install the kernel source. I have installed linux-source from Synaptic. I also installed a few linux-headers files that weren't.

I have also tried the EnvyNG install instead, and I get an error saying the headers for my kernel are missing and cannot be installed.

Please help!

Thanks,
froodley
Please do _not_ install the driver manually on Ubuntu if you don't have really good reasons to.

If you do have really good reasons:

You probably need the following packages:

build-essential
xserver-xorg-dev
linux-headers-generic (adapt generic to your architecture)
libc6-i386 (for amd64)

If it still doesn't work, please give us the output of

uname -a

and show us which packages linux-headers-* you have installed.

But again, I do _not_ recommend installing the drivers manually.
NvFuchs is offline   Reply With Quote
Old 05-14-09, 04:30 AM   #3
froodley
Registered User
 
Join Date: May 2009
Posts: 4
Default Re: Ubuntu NVIDIA install - source tree?

I did read that sticky, but it didn't answer my question as far as I can tell.

So I should just reinstall the driver via Synaptic? I tried the Hardware Drivers control panel, and it downloads but then does not activate the driver. So I'm removing the packages in Synaptic that it downloaded. I'm not sure which packages I am supposed to install through synaptic to have it installed.

Last edited by froodley; 05-14-09 at 04:45 AM. Reason: Oops.
froodley is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning from NVIDia with ubuntu 12.04 KnutJorgen NVIDIA Linux 7 11-08-12 11:46 AM
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Red Hat null(limbo beta 3), guide to install Nvidia Drivers utiel NVIDIA Linux 21 09-30-02 05:32 PM

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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.