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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-26-06, 04:17 AM   #1
ubuntu012406
Registered User
 
Join Date: Jan 2006
Posts: 1
Exclamation problem installing nvidia driver on ubuntu 5.10

hi all. one-day-old ubuntu installation, first time linux user. when trying to install my nvidia driver, i get an error citing a discrepency between the gcc i have (4.0) and the gcc the driver-kernal-thing was built in (3.4). I currently have gcc, gcc-3.3, gcc-3.4, & gcc-4.0 packages installed. I would think the solution would be to remove the gcc-4.0 package so that gcc-3.4 would be used, but when i try to remove 4.0, it has to remove the gcc package as well.
is the problem that nvidia needs to release a driver built on gcc-4.0?

a noob, still a bit confused.
ubuntu012406 is offline   Reply With Quote
Old 01-26-06, 04:58 AM   #2
debian_penguin
Linux Addicted
 
debian_penguin's Avatar
 
Join Date: Aug 2005
Posts: 61
Default Re: problem installing nvidia driver on ubuntu 5.10

Hi ubuntu012406!

Two ways to solve this:
The "clean and soft way": run the installer with the command:
CC=gcc-3.4 sh NVIDIA-whatever.run
It should work, but I'm not 100% sure

The Dirty But Surely Functional Way: as root, go into your /usr/bin directory, where you should find that gcc and g++ are only symlinks to gcc-4.0 and g++-4.0. Do this by typing ls -l gcc g++. IF they are symlinks (which should be the case at 99.9%, it's a debian system, after all), do this: remove the two symlinks and create two new ones pointing this time to gcc-3.4 with the command ln -s.

Hope this helps,

best,

d_p
__________________
Laptop HP Pavilion zv5000: AMD Athlon 3000+ (32 bit); Nvidia GeForce4 440 Go! 64 Mb, 8774 driver revision; 768 MB PCI2700; nForce3 mobo chipset and audiocard, other uninteresting stuff... Debian unstable-experimental, custom 2.6.17 kernel debian-patched
Any sufficiently advanced bug is indistinguishable from a feature.
debian_penguin is offline   Reply With Quote
Old 01-26-06, 06:21 AM   #3
crittar
Registered User
 
Join Date: Jan 2005
Posts: 15
Default Re: problem installing nvidia driver on ubuntu 5.10

Sounds like a problem I had. If you are using a stock kernel, they are compiled for gcc-3.4 so you will get that message if gcc-4.0 is set as default. CC=gcc-3.4 worked for me
crittar is offline   Reply With Quote
Old 01-31-06, 03:23 PM   #4
Sentertainment
Registered User
 
Join Date: Jan 2006
Posts: 6
Default Re: problem installing nvidia driver on ubuntu 5.10

ok, I know I am a newer member here...and I feel bad saying this, but why come here?
the ubuntu support forums have thousands of these exact same problems and what to do.

http://www.ubuntuforums.org/

oh, btw, there are other things that must be done to fully install it on ubuntu, or KDE will not start.
(its a pain if you don't install it right, you have to use command-line to keep installing and restarting KDE until you remove the original modules)
Sentertainment 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
GT650M not recognized by 295.59 Driver on Ubuntu 12.04 hvontres NVIDIA Linux 13 06-22-12 01:33 PM
[9800gt] Xorg black screen after installing nvidia driver HacKurx NVIDIA Linux 1 06-07-12 01:29 PM
Powermizer problem, nvidia 9500m gs ubuntu backtoback NVIDIA Linux 3 05-25-12 12:13 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM

All times are GMT -5. The time now is 09:29 AM.


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