我就纳闷了,Linux下Nvidia显卡驱动一直安装失败
发布:站生 | 发布时间: 2009年10月12日今天 刚计划着把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,导致程序无法编译而出错。
- 相关文章:
国产免费操作系统Q3国庆发行版.是中国人要顶 (2009-10-12 23:8:23)
三步找回被删并清空了回收站的文件 (2009-10-12 23:7:52)
电脑启动报警声 (2009-10-12 23:5:22)
安全模式到底有哪些用途? (2009-10-12 23:4:54)
Windows 登陆密码忘记的解决方法 (2009-10-12 23:4:22)
NTFS分区下System Volume Information文件夹全面分析 (2009-10-12 23:3:5)
找回“显示桌面”按钮的简便方法 (2009-10-12 22:51:6)
网易闪电邮无法直接登陆邮箱解决方法 (2009-10-12 22:45:32)
开机遇到grub解决方法,开机grub (2009-10-12 22:38:10)
升级IE7后无法保存表单历史记录 (2009-10-12 22:35:14)
发表评论
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。