|
我这个是早晨刚安装的 Fedora 12 , 我的机器是笔记本 显卡是 NV 8400GS ,在NVIDIA上下载了,NVIDIA-Linux-x86-190.53-pkg1.run 这个驱动, 第一次安装提示 没有在 Path中 配置 CC , 这个问题解决了, 第二次安装提示 如下内容[LOG]:nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jan 12 20:25:18 2010
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
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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.
然后根据我们论坛上的一个大牛的帖子, 下载了 kernel-devel 并且安装这个rpm一切顺利, 再次重启安装驱动程序,还是报这个错误, 又根据该大牛的帖子,我发现我的 kernel-headers 和内核版本不匹配,
机器的显示如下:
[root@iHuili 下载]# uname -a
Linux iHuili.PC 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux
[root@iHuili 下载]#
[root@iHuili 下载]# rpm -qa | grep kernel
kernel-firmware-2.6.31.5-127.fc12.noarch
kernel-PAE-2.6.31.5-127.fc12.i686
abrt-addon-kerneloops-0.0.11-1.fc12.i686
abrt-plugin-kerneloopsreporter-0.0.11-1.fc12.i686
kernel-devel-2.6.31.5-127.fc12.i686
kernel-headers-2.6.31.9-174.fc12.i686
于是乎 在网上下载和该内核匹配的 kernel-headers rpm 文件 , 不过在安装该rpm文件的时候又出现了问题 第一次是 双击rpm包安装的, 提示如下:
本地安装失败。
详情:
Can't install /home/ihuili/下载/kernel-headers-2.6.31.5-127.fc12.i686.rpm as no transaction
随即使用 命令行安装 显示如下:
[root@iHuili 下载]# rpm -ivh kernel-headers-2.6.31.5-127.fc12.i686.rpm
Preparing... ########################################### [100%]
package kernel-headers-2.6.31.9-174.fc12.i686 (which is newer than kernel-headers-2.6.31.5-127.fc12.i686) is already installed
file /usr/include/linux/kvm.h from install of kernel-headers-2.6.31.5-127.fc12.i686 conflicts with file from package kernel-headers-2.6.31.9-174.fc12.i686
file /usr/include/linux/nfsd/export.h from install of kernel-headers-2.6.31.5-127.fc12.i686 conflicts with file from package kernel-headers-2.6.31.9-174.fc12.i686
不知道成功了没有? 汗。。。
然后我再次查看 和上次一样。
显示如下
[root@iHuili 下载]# uname -a
Linux iHuili.PC 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux
[root@iHuili 下载]#
[root@iHuili 下载]# rpm -qa | grep kernel
kernel-firmware-2.6.31.5-127.fc12.noarch
kernel-PAE-2.6.31.5-127.fc12.i686
abrt-addon-kerneloops-0.0.11-1.fc12.i686
abrt-plugin-kerneloopsreporter-0.0.11-1.fc12.i686
kernel-devel-2.6.31.5-127.fc12.i686
kernel-headers-2.6.31.9-174.fc12.i686
我该怎么办。。。。。。 那位兄台拉兄弟一把, 我是第一次在电脑上安装 Linux 以前都是在虚拟机里面跑。 不要说我菜哦。。 其实我对linux 也是了解有限地。。。 |
|