kanotix.com

Graphik, Video, Sound - nvidia treiber will sich nicht installieren lassen, gcc prob

steli - 23.07.2006, 21:38 Uhr
Titel: nvidia treiber will sich nicht installieren lassen, gcc prob
Ich habe gerade ein kernel update auf 2.6.17.6-slh-up-1 gemacht, und wollte nun den neuen nvidia-Treiber installieren. Doch der gibt mir folgende Meldung aus:
Zitat:
option status:
license pre-accepted : true
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 : true
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : true
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 : none
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using built-in stream user interface
-> License accepted by command line option.
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC test with CC="cc".
-> gcc-version-check failed:


The compiler used to compile the kernel (gcc 4.1) does not exactly match the
current compiler (gcc 4.0). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.

If you know what you are doing and want to ignore the gcc version check, select "No" to continue installation. Otherwise, select "Yes" to abort installation, set the CC environment variable to the name of the compiler used to compile 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.


Wie kann ich diesen gcc Konflikt lösen? gcc 4.1 habe ich installiert.
Die Lösung mit "If you know what you're doing..." wollte ich erstmal nicht wählen, da ich noch recht frisch bei linux bin und auch nicht so recht wüsste wo ich diese Einstellung vornehmen müsste.
Übrigens startet der neue Kernel nicht mehr den kdm, ich bleibe auf der Kommandozeile hängen.

Danke schonmal.
Kano - 23.07.2006, 21:43 Uhr
Titel: RE: nvidia treiber will sich nicht installieren lassen, gcc
update-scripts-kanotix.sh
install-nvidia-debian.sh
steli - 23.07.2006, 21:59 Uhr
Titel:
Gut, da waren meine Angaben wohl lückenhaft.
Denn das habe ich bereits gemacht.
Mein komplettes Vorgehen:
Kernel update via gui
graka-treiber Installation ging nicht, den alten Kernel gebootet und im Forum gelesen, dass gcc 4.1 erforderlich ist, dieses dann installiert nachdem ich per apt-get -f install Abhängigkeiten gefixt habe und nochmal über update-scripts und install-nvidia versucht. mit dem gleichen Ergebnis.

Vielleicht hilft euch das weiter, oder eher mir.
Kano - 23.07.2006, 22:10 Uhr
Titel:
dpkg --purge dpkg-multicd

und dann mal dist-upgraden.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007