Linux за българи: Форуми

Linux секция за начинаещи => Настройка на хардуер => Темата е започната от: HarleyBG в Apr 05, 2007, 20:58



Титла: Nvidia drivers
Публикувано от: HarleyBG в Apr 05, 2007, 20:58
Имам Slackware 10.2. Инсталирах му:
kernel-generic-2.6.17.13-i486-1.tgz.tgz
kernel-headers-smp-2.6.17.13-i386-3.tgz.tgz
kernel-modules-2.6.17.13-i486-1.tgz.tgz
mkinitrd-1.0.1-i486-3.tgz.tgz

Сега се опитвам да инсталирам драйвери за видеото на новото ядро, но не се получава:
Примерен код

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Apr  5 20:50:58 2007

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     : false
  no questions            : false
  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      : /usr/include/linux
  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.
-> There appears to already be a driver installed on your system (version: 1.0-
   7167).  As part of installing this driver (version: 1.0-7167), the existing
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/usr/include/linux' as specified by the
   '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/include/linux'
-> Performing CC test with CC="cc".
-> gcc-version-check failed:
  
   Could not compile gcc-version-check.c
  
   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: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.
      
       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the appropriate nvidia-installer 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.


Титла: Nvidia drivers
Публикувано от: neter в Apr 05, 2007, 22:10
Ако си качил последната версия на gcc, задай при компилирането да не проверява версията на gcc (за повече инфо, виж --help). Възможно е да няма проблем.


Титла: Nvidia drivers
Публикувано от: HarleyBG в Apr 05, 2007, 23:03
Не усяпх да разбре как да изключа проверяването на версията на glibc, но това не е пробелм. По време на иснталацията му давам да си продължи.
Сложих по-нова версия и пак същото :(


Титла: Nvidia drivers
Публикувано от: smelkomar в Apr 05, 2007, 23:05
Не може да не става, както е описано в сайта на неВидиа


Титла: Nvidia drivers
Публикувано от: alabal в Apr 06, 2007, 11:06
Може ако ядрото е компилирано с различна версия на gcc от тази която е инсталирана в момента.
Не сменяй gcc на посоки, братко, имаше една-две теми за смяна на gcc под Slackware.
Изхода е да се компилира собствено ядро с наличния gcc.
Успех!