4、ERROR: Unable to find the kernel source tree for the currently running kernel.
原因是新内核的headers没有被安装,用以下命令安装:
sudo apt-get install linux-headers-<”version”>
可以用uname -r 查看当前内核版本,或者ls /boot看看有哪些内核。
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)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 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 185.18.14.
-> 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".
-> The CC version check failed:
The compiler used to compile the kernel (gcc 4.1) does not exactly match the
current compiler (gcc 4.3). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
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.
刘冲 于 2009-07-12 11:35:28发表:
[i=s] 本帖最后由 刘冲 于 2009-7-12 11:38 编辑 [/i]
-> 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: No)
这里说你回答了NO,你应该回答yes。就是当出现这个文本问答框时候你回答yes。
除了那个gcc版本不对的提示回答NO之外,其他的都回答yes。
另外,你装了gcc和make了吗:
ERROR: Unable to find the development tool `cc` in your path; please make sure
that you have the package 'gcc' installed. If gcc is installed on your
system, then please check that `cc` is in your PATH.
快使用apt-get install gcc make
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)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 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 185.18.14.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
ERROR: Unable to find the development tool `cc` in your path; please make sure
that you have the package 'gcc' installed. If gcc is installed on your
system, then please check that `cc` is in your PATH.
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.
4、ERROR: Unable to find the kernel source tree for the currently running kernel.
原因是新内核的headers没有被安装,用以下命令安装:
sudo apt-get install linux-headers-<”version”>
可以用uname -r 查看当前内核版本,或者ls /boot看看有哪些内核。
绿色圣光 于 2009-07-12 22:46:50发表:
关键是红旗和Fedaora都是用的DVD版的,很多软件都集成了。安装显卡驱动的时候也都很顺利。现在用的Debian那么多东西都要自己搞定,一时间不知所措了……
刘冲 于 2009-07-12 22:38:00发表:
(()):s其实你那里一点问题也没有,只是多看看提示就行。绿色圣光 于 2009-07-12 22:33:46发表:
哦~原来就是这个啊……
真是不好意思……
现在安好了。多谢啦……
刘冲 于 2009-07-12 22:22:44发表:
这里:
Unable to find the kernel source tree for the currently running kernel.
这个问题前面已经说了,在板凳楼
原楼内容如下:
是不是少了headers?
3、安装显卡驱动时关闭X
fedora可以修改/etc/inittab中的“id:5:initdefault:”这一行,5改成3,重启;然后安装,完了再改成5;重启,然后就好了。
或者在root下执行init3,安装好有执行init5,linux用户应该尽量做到不要重新引导系统。
Debian有更简单的办法是运行“/etc/init.d/gdm stop”安装完显卡驱动重启就行。不用重启直接gdm进入图形界面也行。
“
还有个帖子说:
要不你就修改/etc/inittab文件(fc9以前的版本适用,fc9改成upstart启动了)
将其中的:id:5:initdefault:
修改成:id:3:initdefault:
修改/etc/inittab
id:5:initdefault:
这一行,5改成3,重启
然后安装,完了再改成5
重启,然后就好了。
”
4、ERROR: Unable to find the kernel source tree for the currently running kernel.
原因是新内核的headers没有被安装,用以下命令安装:
sudo apt-get install linux-headers-<”version”>
可以用uname -r 查看当前内核版本,或者ls /boot看看有哪些内核。
绿色圣光 于 2009-07-12 22:10:49发表:
天啊!今天白天没时间,晚上回来安驱动,还是没安上啊……老大,再帮我看看吧(3):os
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jul 12 22:09:18 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)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 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 185.18.14.
-> 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".
-> The CC version check failed:
The compiler used to compile the kernel (gcc 4.1) does not exactly match the
current compiler (gcc 4.3). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
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.
刘冲 于 2009-07-12 11:35:28发表:
[i=s] 本帖最后由 刘冲 于 2009-7-12 11:38 编辑 [/i]
-> 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: No)
这里说你回答了NO,你应该回答yes。就是当出现这个文本问答框时候你回答yes。
除了那个gcc版本不对的提示回答NO之外,其他的都回答yes。
另外,你装了gcc和make了吗:
ERROR: Unable to find the development tool `cc` in your path; please make sure
that you have the package 'gcc' installed. If gcc is installed on your
system, then please check that `cc` is in your PATH.
快使用apt-get install gcc make
绿色圣光 于 2009-07-12 11:27:50发表:
我实在是搞不定了,下面是安装的日志,帮忙看看吧:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jul 12 11:18:24 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)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 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 185.18.14.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
ERROR: Unable to find the development tool `cc` in your path; please make sure
that you have the package 'gcc' installed. If gcc is installed on your
system, then please check that `cc` is in your PATH.
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.
刘冲 于 2009-07-12 00:38:50发表:
安装的时候会有文本界面的,看下上面的说明文字。
除了那个gcc的点否之外,其他的全默认点是就行。就像windows的下一步,没关系,没有危险的
绿色圣光 于 2009-07-12 00:29:47发表:
No precompiled kernel interface was found to match your knernel
这是它提示的。太晚了,白天再搞了……
checked 于 2009-07-12 00:03:58发表:
可能是显卡驱动
刘冲 于 2009-07-11 22:41:52发表:
记下来,看看实在有什么东西找不到,发来大家一起找
绿色圣光 于 2009-07-11 22:00:14发表:
好的,谢谢。我再装一遍,看看少了什么东西。呵呵
刘冲 于 2009-07-11 21:58:31发表:
总之,缺少什么你就安装什么就行了
刘冲 于 2009-07-11 21:56:50发表:
[i=s] 本帖最后由 刘冲 于 2009-7-11 21:58 编辑 [/i]
是不是少了headers?
3、安装显卡驱动时关闭X
fedora可以修改/etc/inittab中的“id:5:initdefault:”这一行,5改成3,重启;然后安装,完了再改成5;重启,然后就好了。
或者在root下执行init3,安装好有执行init5,linux用户应该尽量做到不要重新引导系统。
Debian有更简单的办法是运行“/etc/init.d/gdm stop”安装完显卡驱动重启就行。不用重启直接gdm进入图形界面也行。
“
还有个帖子说:
要不你就修改/etc/inittab文件(fc9以前的版本适用,fc9改成upstart启动了)
将其中的:id:5:initdefault:
修改成:id:3:initdefault:
修改/etc/inittab
id:5:initdefault:
这一行,5改成3,重启
然后安装,完了再改成5
重启,然后就好了。
”
4、ERROR: Unable to find the kernel source tree for the currently running kernel.
原因是新内核的headers没有被安装,用以下命令安装:
sudo apt-get install linux-headers-<”version”>
可以用uname -r 查看当前内核版本,或者ls /boot看看有哪些内核。
绿色圣光 于 2009-07-11 21:52:37发表:
我装的时候,它提示少了什么东西,装不上,我才没装的……
刘冲 于 2009-07-11 21:22:30发表:
是的,你装上显卡驱动再试试。