|
Problem z serwerem x'ów
konju009 - 03-10-2007 09:57
zainstalowałem debian'a na nowej konfiguracji sprzętowej , a tutaj niespodzianka w postaci komunikatu niemożna uruchomić xserwera.http://img187.imageshack.us/my.php?i...sc02446sl4.jpg http://img187.imageshack.us/my.php?i...sc02446sl4.jpg http://img187.imageshack.us/my.php?i...sc02449rw3.jpg próbowałem zainstalować sterowniki nvidii ale nie udało się log z instalacji wygląda następująco: nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Oct 2 20:20:13 2007
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 force tls : (not specified) force compat32 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) compat32 install chroot : (not specified) compat32 install prefix : (not specified) compat32 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. -> Performing CC sanity check with CC="cc". -> Performing CC version check with CC="cc". -> The CC version check failed: The compiler used to compile the kernel (gcc 4.1) does not exactly match the current compiler (gcc 4.2). 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, 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: No) 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.
ruun - 03-10-2007 10:02
Zmień domyślny kompilator:
# rm /usr/bin/gcc # ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
zainstaluj nagłówki jądra:
aptitude install linux-headers-`uname -r`
i spróbuj jeszcze raz.
konju009 - 03-10-2007 10:52
niestety nic się niezmieniło , mimo zainstalowania linux-headers amd64 (niepamietam dokładnie nazwy)
ruun - 03-10-2007 11:15
Zmieniłeś wersję kompilatora?
pokaż wyniki poeceń:
ls -al /usr/bin/gcc
uname -r
dpkg -l | grep linux-headers
konju009 - 03-10-2007 17:51
dpkg -l | grep linux-headers
ii linux-headers-2.6.21-2-vserver 2.6.21-6 Common header files for Linux 2.6.21 ii linux-headers-2.6.21-2-vserver-amd64 2.6.21-6 Header files for Linux 2.6.21 on AMD64
uname -r 2.6.21-2-amd64
ls -al /usr/bin/gcc
jest to napewno wersja 4.1
ruun - 03-10-2007 18:03
No to:
aptitude install linux-headers-2.6.21-2-amd64
konju009 - 03-10-2007 18:17
Działa !! :)
bardzo dziękuję za pomoc. :)
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|