LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2006, 07:08 PM   #1
Trov
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian
Posts: 4

Rep: Reputation: 0
GCC, Environ paths and Vars(Nvidia drivers too)


Well, thing is, I don't understand them much.
See, I'm trying to install the Nvidia drivers to system. However, I always end up at the screen which tells me that my kernel was compiled with GCC 3.3 and I'm currently using GCC 4. Ok I can understand that. Then I search this forum on ways around it. I can either Recompile the Kernel or re-set my GCC path. Problem is, I don't know how.

I don't wanna recompile, seems like too much work, too much time, and uses too much harddrive space for my very little drive.

So ya, if anyone can help me make this thing use the GCC v3.3 I already have installed instead of the GCC v4 Thats the default. That would be great.
 
Old 08-25-2006, 07:21 PM   #2
blahblahblah
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Rep: Reputation: 0
What distro are you using?
 
Old 08-25-2006, 07:31 PM   #3
Trov
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by blahblahblah
What distro are you using?
Opps. haha, I thought I made that apparent. Debian Etch.
 
Old 08-25-2006, 07:58 PM   #4
blahblahblah
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Rep: Reputation: 0
Try this thread.

Last edited by blahblahblah; 08-25-2006 at 08:00 PM.
 
Old 08-25-2006, 08:17 PM   #5
Trov
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Ah, I already saw that thread(Doesn't help me with the error I'm getting.), and your first idea(before you editted) almost worked, but really it just gave me another error about not finding the development tool 'cc' in the path.
 
Old 08-25-2006, 08:37 PM   #6
blahblahblah
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Rep: Reputation: 0
I thought the link would provide a better answer. The core problem seemed to be installing nVidia drivers on Etch, so I figured why beat around the bush?

Anyway, yeah, "ln -sf /usr/bin/gcc-3.3 /usr/bin/gcc" will make it use the older version, but that's rarely the only thing that has to be changed.

Could you post the error message?
 
Old 08-25-2006, 08:45 PM   #7
blahblahblah
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Rep: Reputation: 0
This is for Ubuntu, but Ubuntu has a Debian base so it might at least help provide an idea.
 
Old 08-25-2006, 08:49 PM   #8
Trov
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
I don't think it's the installation itself as it's the problem with the kernel being compiled differently from what I now have.

Here is the log file. The error I am focusing on is in bold.
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Aug 25 19:09:00 2006

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
  OpenGL header files     : true
  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
  force 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)
  utility install prefix  : (not specified)
  utility install libdir  : (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)
  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.
-> 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.
ERROR: Unable to find the development tool `cc` in your path; please make sure
       that you have the package 'gcc' installed.  If gcc is installed on your
       system, then please check that `cc` is in your PATH.
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.
 
Old 08-28-2006, 06:35 PM   #9
blahblahblah
LQ Newbie
 
Registered: Aug 2006
Posts: 14

Rep: Reputation: 0
/usr/bin/cc is usually just a link to /usr/bin/gcc (try "ls -l /usr/bin/cc" to see what it is now). Since you don't want to use /usr/bin/gcc, try "ln -sf /usr/bin/gcc-3.3 /usr/bin/cc".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 10:02 AM
nvidia drivers, gcc-version-check failed Seiken Slackware 26 02-25-2005 10:50 PM
GCC and Nvidia Drivers - Suse 9.1 Scallawag Linux - Newbie 11 01-02-2005 09:04 AM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 11:15 PM
NVidia Drivers gcc 3.2.2 thirdbanE Slackware 2 02-16-2003 10:42 PM


All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration