Find the answer to your Linux question:
Results 1 to 6 of 6
new debian install, had to use latest testing version, stable sarge wouldnt auto configure dhcp for me I get this error message when trying to install the nvidia graphic drivers ...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    49

    problem with nvidia drivers

    new debian install, had to use latest testing version, stable sarge wouldnt auto configure dhcp for me
    I get this error message when trying to install the nvidia graphic drivers

    gcc-version-check failed

    The compiler used to compile the kernel (gcc 4.0) does not exactly math the current compiler (gcc 4.1)

    continue yes or no

    if i click continue I get another error saying that it could not find kernel source tree


    So I installed lynx using apt-get, and browsed debian.packages.org. I could not find the source files for the kernel im using 2.6.16-2-686

    any ideas on what I should do about getting the kernel source and the non-matching gcc version. I tried apt-get remove gcc-4.1 and apt-get install gcc-4.0 but that seemed to create alot more errors when trying to install the nvidia drivers. I just did fresh install again and am stuck at the same part.

    thanks,
    Zack

  2. #2
    Just Joined! shakumafu's Avatar
    Join Date
    Apr 2006
    Posts
    29
    there is an nvidia driver package:

    apt-get install nvidia-glx

    then change your /etc/X11/xorg.conf file to use the nvidia driver. if you wanted to do it using the script, you would have to install the kernel sources.

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    49
    I tried apt-get install nvidia-glx

    Its says the Package nvidia-glx is not available, but is referred to by another package.

  4. #4
    Just Joined!
    Join Date
    Jan 2006
    Posts
    71
    maybe an apt-get install kernel-image-`uname -r`...or however the kernel name setup is now. You may even be able to get away with just an apt-get install kernel-image. If that works, dont forget the kernel-headers. You CAN have gcc 4.0 and 4.1 installed at the same time. Instead of uninstalling 4.1, just do an apt-get for 4.0 and in /usr/bin/ link gcc to gcc4.0.

    As for Sarge, I had the same problem with the DHCP. If you want to use sarge, try throwing another network card in there for the install. The network install disc may not have the drivers for your card on disc, even though it is supported in linux. You can take it out after the system goes past its initial install.

  5. #5
    Just Joined!
    Join Date
    Aug 2006
    Posts
    49
    thanks for the response, I cant figure out how to link gcc to gcc-4.0

    thanks,
    Zack

  6. #6
    Just Joined!
    Join Date
    Jan 2006
    Posts
    71
    cd /usr/bin
    rm gcc
    ln -s gcc-4.0 gcc

    This will remove the old link to gcc-4.1 and create a new one pointing to gcc-4.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •