View Single Post
Old 05-14-09, 01:06 AM   #1
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:

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 :
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 ( (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

Last edited by froodley; 05-14-09 at 01:07 AM. Reason: forgot log dump
froodley is offline   Reply With Quote