今天 刚计划着把Linux的知识复习一下,
结果就出问题了,忙了几个小时了系统也没搞好,
显卡驱动一直装不上,我就纳闷了,
同一张系统盘,同一个驱动文件,在N个月后却装不上,
提示什么失败之类的,下面是错误,先记录下来,有待于解决。
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sat Oct 3 23:45:19 2009 option status: license pre-accepted : false update : false force update : false,同样参考nvidia要求的最低gcc版 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. -> 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. 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.
经过一番上网查询,
大概有两种原因:
第一:没装内核源码 或者 内核源码版本过低
第二: 没装gcc 或者 gcc版本过低
于是想到前曾经给自己电脑上装Linux显卡驱动时,选择了大部分软件包,
而这次没有选择软件,选择的稍候定制,才导致没有安装 gcc,导致程序无法编译而出错。
本文来源于蛐蛐工作室 http://www.qqgzs.com/ , 原文地址:http://www.qqgzs.com/archives/47.html
cuidahui521 于 2009-12-29 16:01:30发表:
很不错的学习
javahome 于 2009-12-29 10:55:14发表:
我到驱动在今天总算所是安装成功了阿 (5ty((5ty(:0w223dc
javahome 于 2009-12-22 09:35:57发表:
fedora 12下装nv驱动安装了不下5次 都以失败告终,打击的没有一点自信
王中云 于 2009-12-22 09:31:22发表:
我是不再在Fedora12以前的版本鼓捣Nvidia显卡驱动了
06314219 于 2009-12-21 22:06:03发表:
感同身受
amberprince 于 2009-12-21 18:35:11发表:
还是用yum安装吧
xiazhouquan 于 2009-12-21 17:56:50发表:
现在不敢在fedora 12下装nv驱动了,折腾
longyun 于 2009-12-21 15:50:28发表:
兄弟,很正常!我装ATI的驱动也经常出错!系统也崩溃了几次,试了很多方法,都不灵,很是郁闷!现在不敢随便装了!