求助,nvidia驱动安装问题!!!
我在安装nvidia驱动时出错,安装日志如下:nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jul 13 23:37:57 2006
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : true
silent : 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
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix: /usr
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.
-> Performing CC test with CC="cc".
-> gcc-version-check failed:
./usr/src/nv/conftest.sh: line 19: cc: command not found
Could not compile gcc-version-check.c.Please be sure you have your distrib
ution's libc development package installed and that 'cc' is a valid C compil
er name.
If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation.Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation.Abort now? (Answer: Yes)
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阿,怎么装阿? 你什么系统? suse10.0
装之前说是要什么gcc和linux的什么东西,我也不知道自己装没有…… LINUX内核很显然你没有装。GCC你可以打开一个终端,然后输入gcc -v看看有什么。 在yast当中把cc和gcc什么都选上,最好装kernel-source,注意,dvd/cd放进去 突然想起来,SUSE带的GCC应该是4。X了,但内核应该是用3。X编译的,这样的话,还是没法安装驱动的。
还有,SUSE可以通过YAST直接安装NVIDIA的驱动啊,不用这么麻烦的。 可以编译,10.0我用了相当长的时间 还有就是我的显卡需要装驱动吗? 不玩游戏,不用三维软件,仅仅看看电影什么的,不需要安装 怪,我上次在UBUNTU下就说系统编译器和编译内核的版本不一致,害的我又去找GCC 3。4。。。
不过SUSE还是直接YAST安装驱动好了 只是现在务实的人少了,都喜欢折腾。
其实,升级一下内核,x就不好用,还得重新编译nvidia驱动,多麻烦,不如用默认驱动,随便怎么弄内核,都不会出问题。 linux:~ # gcc -v
bash: gcc: command not found 这就是我一般不装驱动的原因啊。 linux:~ # gcc -v
bash: gcc: command not found
就是没装了
linux-5179:/home/linyuzhu # gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux) 我为什么不能换自己下的壁纸阿~~?