LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1185|回复: 8

debian安装nvidia显卡驱动没有成功安装产生的log 请问怎么解决 谢谢

[复制链接]
发表于 2009-4-4 20:43:02 | 显示全部楼层 |阅读模式
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Apr  4 18:55:37 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   : /usr/lib/xorg/modules/
  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.44.
-> 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: Yes)
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-4-4 21:29:26 | 显示全部楼层
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: Yes)

这段英文看不懂么?仔细看看
回复 支持 反对

使用道具 举报

发表于 2009-4-4 22:13:29 | 显示全部楼层
Post by favoyun;1969879
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: Yes)

这段英文看不懂么?仔细看看


gcc版本与内核版本不同,不过我安装linux-headers时自动匹配了,本来装了gcc 4.3 安装linux-headers又自动下了gcc4.1 base 匹配。
回复 支持 反对

使用道具 举报

发表于 2009-4-5 08:45:23 | 显示全部楼层
Post by chenhaolost;1969901
gcc版本与内核版本不同,不过我安装linux-headers时自动匹配了,本来装了gcc 4.3 安装linux-headers又自动下了gcc4.1 base 匹配。


这只是个提示而已,据我的经验,并不真的需要完全匹配gcc的版本,因此在此回答“No”,就会继续往下编译了。
回复 支持 反对

使用道具 举报

发表于 2009-4-5 08:58:21 | 显示全部楼层
楼上所言是,选“No”可继续。
回复 支持 反对

使用道具 举报

发表于 2009-4-5 14:03:20 | 显示全部楼层
确实可以我也一直这么做的。
回复 支持 反对

使用道具 举报

发表于 2009-4-5 18:25:46 | 显示全部楼层
不知道楼主用的内核版本是多少的?
我的nvidia的驱动程序在debian 5.0 testing版,内核为2.6.26安装不成功,下载了2.6.29的内核编译后顺利安装。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-6 05:58:34 | 显示全部楼层
我的版本是 Linux debian 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux
回复 支持 反对

使用道具 举报

发表于 2009-4-6 09:16:11 | 显示全部楼层
4楼正解,我就是选择no的,不会出现什么问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表