Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 11
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2006
    Messaggi
    685

    wheezy 64bit: problema installare nvidia

    ho un problema con la wheezy, kernel 2.6.39-2-amd64: non riesco a installare i driver nvidia.
    ho installato gli header e gcc 4.4, ma quando lancio l'installer nvidia da console (con X disattivato)
    mi restituisce questo errore:
    Could not compile 'gcc-version-check.c'. Please be sure you have your Linux distribution's gcc and libc development packages installed.
    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)
    ho provato a installare gcc4.5 e 4.6 e a variare i puntamenti in /usr/bin mettendo "ln -s gcc-4.5 gcc" o "ln -s gcc-4.6 gcc". con "ln -s gcc-4.6 gcc" mi restituisce l'errore dicendomi che gcc-4.6 non corrisponde alla versione 4.4 usata per compilare il kernel.
    per cui rimetto il puntamento alla 4.4 ma continua a comparire l'errore citato sopra.
    ho provato a rimuovere gcc4.4 e l'header, reinstallati ma il problema rimane.

  2. #2
    Utente di HTML.it
    Registrato dal
    May 2006
    Messaggi
    685
    in allegato il log
    codice:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Wed Jun 29 23:35:59 2011
    installer version: 275.09.07
    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    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
      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
      run distro scripts                 : true
      no nouveau check                   : false
      run nvidia-xconfig                 : false
      sigwinch work around               : true
      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)
      installer prefix                   : (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)
      precompiled kernel interfaces path : (not specified)
      precompiled kernel interfaces url  : (not specified)
      proc mount point                   : /proc
      ui                                 : (not specified)
      tmpdir                             : /tmp
      ftp mirror                         : ftp://download.nvidia.com
      RPM file list                      : (not specified)
      selinux chcon type                 : (not specified)
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 275.09.07.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> The CC version check failed:
          Could not compile 'gcc-version-check.c'.  Please be  sure you have your Linu
       x distribution's gcc  and libc development packages installed.
       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.

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2006
    Messaggi
    685
    gcc -v
    codice:
    Using built-in specs.
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.6-6' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    gcc version 4.4.6 (Debian 4.4.6-6)

  4. #4
    Utente di HTML.it
    Registrato dal
    May 2006
    Messaggi
    685
    up, grazie

  5. #5
    Utente di HTML.it
    Registrato dal
    May 2006
    Messaggi
    685
    upma nessuno ha avuto lo stesso mio problema?
    non riesco a venirne a capo. nenahce su altri forum c'è la soluzione...
    allego l'ultimo log nvidia
    codice:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Jul  1 22:31:17 2011
    installer version: 275.09.07
    
    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    
    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
      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
      run distro scripts                 : true
      no nouveau check                   : false
      run nvidia-xconfig                 : false
      sigwinch work around               : true
      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)
      installer prefix                   : (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)
      precompiled kernel interfaces path : (not specified)
      precompiled kernel interfaces url  : (not specified)
      proc mount point                   : /proc
      ui                                 : (not specified)
      tmpdir                             : /tmp
      ftp mirror                         : ftp://download.nvidia.com
      RPM file list                      : (not specified)
      selinux chcon type                 : (not specified)
    
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 275.09.07.
    -> Performing CC sanity check with CC="/usr/bin/gcc-4.4".
    -> Performing CC version check with CC="/usr/bin/gcc-4.4".
    -> The CC version check failed:
       
       Could not compile 'gcc-version-check.c'.  Please be  sure you have your Linu
       x distribution's libc  development package installed and that '/usr/bin/gcc-
       4.4'  is a valid C compiler 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.

  6. #6
    Moderatore di Linux e software L'avatar di francofait
    Registrato dal
    Aug 2001
    Messaggi
    13,558
    apt-get install build-essential

    l' headers della versione in uso del kernell

    stop non serve altro

    il file .run poi va lanciato da console senza X (init 1)

  7. #7
    Utente di HTML.it
    Registrato dal
    May 2006
    Messaggi
    685
    grazie, ma purtroppo ho già tutto quello che mi hai segnato.
    infatti, da quando uso linux ho sempre fatto così: gcc, cambiare il puntamento se era richiesto da nvidia, gli header e poi da console sh NV*.run
    a questo giro, con il kernel 2.6.39-2-amd64 non funziona.
    ho provato anche a fare una modifica a etc/default/grub modificando tale riga così:
    codice:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
    e mettendo in blacklist
    codice:
    blacklist nouveau
    options nouveau modeset=0
    .
    ma nulla...
    da una ricerca era emerso che su alcuni forum tale errore era comparso nel lontano 2006.
    sul forum nvidia http://www.nvnews.net/vbulletin/showthread.php?t=163770 un altro ha il mio stesso problema. ma ancora nessuna soluzione.
    sembrerebbe, letto su un altro sito con post di fine 2010, che sia un problema di gcc-4.4 e che per risolverlo si era proposto di installare gcc-4.1 (a detta di chi scriveva:"gcc 4.1 è molto simile al 4.4") e poi variare dei file di configurazione per bypassare tale errore

  8. #8
    Moderatore di Linux e software L'avatar di francofait
    Registrato dal
    Aug 2001
    Messaggi
    13,558
    se hai precaricato nouveau lo devi disinstallare , non basta metterlo in blacklist

  9. #9
    Utente di HTML.it
    Registrato dal
    Sep 2006
    Messaggi
    516
    Gli ultimi drivers proprietari Nvidia ti propongono di blacklistare il modulo nouveau. Tu accetta.
    Al riavvio concordo con Franco bisogna killare X e installare con i *.run.
    Alla richiesta di non compatibilità del compilatore gcc basta dire no (che equivale a no-check)
    e l'installazione procede senza intoppi. Non serve più istruire lo script alla versione corretta di gcc.

  10. #10
    Utente di HTML.it
    Registrato dal
    May 2006
    Messaggi
    685
    dunque, che faccio??
    1) tolgo xserver-xorg-video-nouveau e libdrm-nouveau1a
    2) riavvio e da console lancio il .run fregandomene dell'errore che mi da, ovvero
    codice:
    Could not compile 'gcc-version-check.c'.  Please be  sure you have your Linux distribution's libc  development package installed and that '/usr/bin/gcc-4.4'  is a valid C compiler name.
    e alla domanda "Abort now?" seleziono no ?
    3)avevo già provato a rispondere "no" e continuare con l'installazione, ma al riavvio la barra di avvio non prendeva tutto lo schermo e lo shcermo non era impostato correttamente.

    @furly:grazie,ma già sono al corrente che gli ultimi driver proprietari nvidia blacklistano i noveau, e difatti fino al kernel .38 era così. poi, ho rifatto il pc, da netinsta ho installato il kernel .39 e lanciando il .run mi ha blacklistato i noveau e ho riavviato il pc. poi, ho rilanciato il .run e ha iniziato a dare l'errore postato.
    resto in attesa delle risposte alle 3 domande sopra.

    grazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.