歡迎您光臨本站 註冊首頁

我就納悶了,Linux下Nvidia顯卡驅動一直安裝失敗

←手機掃碼閱讀     火星人 @ 2014-03-25 , reply:0

今天 剛計劃著把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

[火星人 ] 我就納悶了,Linux下Nvidia顯卡驅動一直安裝失敗已經有965次圍觀

http://coctec.com/docs/linux/show-post-159611.html