LinuxSir.cn,穿越时空的Linuxsir!

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

centos5 怎样升级显卡驱动?

[复制链接]
发表于 2009-12-26 19:20:56 | 显示全部楼层 |阅读模式
nv显卡,升级失败,升级日之如下~~
--------------
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Dec 26 19:12:11 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 190.53.
-> 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.
(END)
 楼主| 发表于 2009-12-26 19:24:07 | 显示全部楼层
我已经安装了
kernel-devel和 Kernel-headers
请问是要安装全部的kernel source吗?
回复 支持 反对

使用道具 举报

发表于 2009-12-26 21:28:14 | 显示全部楼层
你是不是用的PAE的内核?
如果是的话,那么source包也应当是带PAE字样的。
还有就是libstdc++也必须装上。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-27 00:16:39 | 显示全部楼层
Post by realasking;2059587
你是不是用的PAE的内核?
如果是的话,那么source包也应当是带PAE字样的。
还有就是libstdc++也必须装上。


[root@centos linux_font]# uname -rm
2.6.18-164.el5xen i686

好像不是诶
回复 支持 反对

使用道具 举报

发表于 2009-12-29 13:23:16 | 显示全部楼层
不必这么复杂吧?添加rpmforge源,然后直接yum安装就行了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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