Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-23-06, 08:01 PM   #1
stephen_wq
Registered User
 
Join Date: Apr 2006
Posts: 7
Default gcc-version-check failed (FC5)

In an attempt to install the drivers, and got the following:
gcc-version-check failed:
Could not compile gcc-version-check.c. Please be sure you have your distrubutions libc development package installed and that 'cc' is a valid c compiler name.
i have done what is in the sticky, but the install doesnt work, so i tried a search. This led me to use
export CC=gcc-3.4
which i then ran it again.
Result:
Could not compile gcc-version-check.c. Please be sure you have your distrubutions libc development package installed and that 'gcc-3.4' is a valid c compiler name.
I tried using gcc, and back to cc, and everything.
I even tried downloading any packages named gcc, or gcc-3.4 or anything of the like off yum, but it still doesnt work.
So what do i do, where do i get this compiler from, because i cant find it in the install packages for things off the disc, and its not in yum.
Ideas?
Distrubution: Fedora Core 5
Graphics chip: Geforce 4 mx440

edit: Dont know if this helps, but
gcc returns:
gcc: no input files
cc returns:
cc: no input files

So that must mean they are there?

edit2: I just installed the headers for glibc or whatever off yum, and tried again. Same result.
So i chose no to continue, and it tells me i dont have libc headers?
Why can there not be a precompiled one for the latest kernel? It would make things so much easier.

Last edited by stephen_wq; 04-23-06 at 08:45 PM.
stephen_wq is offline   Reply With Quote
Old 04-23-06, 08:19 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: gcc-version-check failed (FC5)

Please post the installer log.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 04-23-06, 08:27 PM   #3
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: gcc-version-check failed (FC5)

I would be very surprised if the kernel in FC5 is compiled with gcc-3.4, but rather gcc-4.1. Also I would suspect it to be called gcc41 or something like that. gcc-4.0 and gcc-3.4 is from Debian based distros AFAIK.
Lithorus is offline   Reply With Quote
Old 04-23-06, 08:48 PM   #4
stephen_wq
Registered User
 
Join Date: Apr 2006
Posts: 7
Default Re: gcc-version-check failed (FC5)

Please find attached the log
Attached Files
File Type: log nvidia-installer.log (2.9 KB, 140 views)
stephen_wq is offline   Reply With Quote
Old 04-23-06, 09:40 PM   #5
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: gcc-version-check failed (FC5)

Do you have glibc-devel installed?

-Lonni
netllama is offline   Reply With Quote
Old 04-23-06, 10:27 PM   #6
stephen_wq
Registered User
 
Join Date: Apr 2006
Posts: 7
Default Re: gcc-version-check failed (FC5)

Deleted original post

Yum removal tool tells me i have the following installed:
glibc
Version 2.4-5
glibc-common
Version 2.4-5
glibc-devel
Version 2.4-5
glibc-kernheaders
Version 3.0-5.2
glibc-utils
Version 2.4-5

And due to the sticky, everything in yum is up to date, using yumex default settings

edit:
Added more repos, and i am updating now, looks like theres new versions
Updated the versions

Last edited by stephen_wq; 04-23-06 at 10:51 PM.
stephen_wq is offline   Reply With Quote
Old 04-23-06, 10:31 PM   #7
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: gcc-version-check failed (FC5)

Do you have gcc installed?

-Lonni
netllama is offline   Reply With Quote
Old 04-23-06, 10:44 PM   #8
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: gcc-version-check failed (FC5)

What do you get when running 'gcc -v'?
Lithorus is offline   Reply With Quote

Old 04-23-06, 11:23 PM   #9
stephen_wq
Registered User
 
Join Date: Apr 2006
Posts: 7
Default Re: gcc-version-check failed (FC5)

the above command returns:
gcc version 4.1.0
yum remove says:
gcc version 4.1.0-3
libgcc version 4.1.0-3

is there any commands you think i should run before the installer, like that export CC="blahblah" one?
stephen_wq is offline   Reply With Quote
Old 04-23-06, 11:33 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: gcc-version-check failed (FC5)

You also need to install the glibc-headers RPM.

-Lonni
netllama is offline   Reply With Quote
Old 04-23-06, 11:45 PM   #11
stephen_wq
Registered User
 
Join Date: Apr 2006
Posts: 7
Default Re: gcc-version-check failed (FC5)

Installed the headers.
I tried an install with the standard cc as compiler, gcc as compiler, gcc-4.1 as compiler and none worked for version check.
so i hit no and continued, but it stills says i dont have the libc headers installed.
What do i do? what compiler should it be trying to use? cc?
stephen_wq is offline   Reply With Quote
Old 04-24-06, 08:38 AM   #12
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: gcc-version-check failed (FC5)

cc is just a symlink to gcc.
What kind of system are you running amd64(64-bit) or i386(32-bit)? Also you did not mention which driver version you are trying to install.
Lithorus is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
*** Failed cc sanity check. Bailing out! *** help needed Matias NVIDIA Linux 2 08-25-02 02:23 PM
Question about GCC version shosking NVIDIA Linux 5 07-29-02 11:10 AM

All times are GMT -5. The time now is 05:22 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.