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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-11-2009, 07:58 PM
|
#1
|
|
Member
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 58
Rep:
|
Debian Lenny symlink gcc question for nVidia Driver(s) compilation and Installation
I am attempting to install the latest nVidia drivers from nVidia. Unfortuantely, they only provide an executable which does all of this for me. When it responded that the kernal of this version of Lenny was compiled with gcc-4.1 and gcc-4.3 is installed on the machine. I posted a question about how to compile the kernal with the latest version of gcc, but only received the following response.
"Just install gcc-4.1 and then temporarily change the symlink for gcc from gcc-4.3 to gcc-4.1. "
I have installed gcc-4.1 (by sudo apt-get install gcc-4.1). While the remainder of the suggestion sounds like it should work, I am still to new to Linux to know how to do this (hence the post to the newbie forum).
a) Which symlink should be modified?
b) Where is this symlink located?
c) Is there anything "special" I must do, or not do because this is a symlink?
d) Is there a specific editor required, or will any text editor do?
e) Does doing this also use the correct "MAKE" facility, if one is necessary?
Basically what else do I need to know to solve my driver compile/make/install/compatibility problems?
Thank you in advance for your time, patients, and assistance.
|
|
|
|
06-12-2009, 10:08 AM
|
#2
|
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 1,270
Rep:
|
No need to do that symlink, when it asks about the GCC version proceed by ignoring it and let it compile anyways it will work fine.
|
|
|
|
06-12-2009, 10:10 AM
|
#3
|
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 1,270
Rep:
|
P.S. Let it write a new xorg config for you too
|
|
|
|
06-13-2009, 01:30 PM
|
#4
|
|
Member
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 58
Original Poster
Rep:
|
I have attempted to run the installation program and selected the option which ignored the compiler issue. Unfortunately, the results were still non-functional.
As for the xorg.conf file, I did allow the utility to write this file, but I already had a custom video configuration after having spent quite a bit of time on the xorg.conf man page. So that's really not much of an issue.
I would ask again:
a) Which symlink should be modified?
b) Where is this symlink located?
c) Is there anything "special" I must do, or not do because this is a symlink?
d) Is there a specific editor required, or will any text editor do?
e) Does doing this also use the correct "MAKE" facility, if one is necessary?
Basically what else do I need to know to solve my driver compile/make/install/compatibility problems?
Additionally, as I currently know nothing of how to address this issue, it is not unreasonable to assume that I could encounter the need to modify symlinks in the future. This will be a good learning experience.
Thank you for your assistance
|
|
|
|
06-13-2009, 05:29 PM
|
#5
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,468
Rep: 
|
The following link may help with gcc versions:
http://www.linuxquestions.org/questi...ge+gcc+version
To install the Nvidia driver i do the following:
aptitude install module-assistant build-essential
Then run the following commands as root:
m-a update
m-a prepare
Next,stop X and run the installer script.
Let the installer modify your Xorg.conf file,restart X or reboot.
If all is well you should see the Nvidia logo when X restarts.
|
|
|
|
06-13-2009, 05:47 PM
|
#6
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
Do it the easy way and use smxi. http://smxi.org/
do, as root: cd /usr/local/bin && wget smxi.org/smxi.zip && unzip smxi.zip && smxi
Sgfxi currently supports ATI fglrx and Nvidia drivers. It also supports converting from or to xorg free drivers like ati, intel, or nv. Smxi uses sgfxi as its graphics driver installer engine, but simply adds some option support for users.
The default driver is the driver that is installed if no arguments are used to override it. Unless your card is too old, and requires a legacy driver, in which case the script will it determine for you.
When you run the script, it will stop, and tell you what driver it is going to install. You can accept that, or exit and redo it with an override option if you want something different.
|
|
|
|
06-16-2009, 10:49 AM
|
#7
|
|
Member
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by the trooper
The following link may help with gcc versions:
http://www.linuxquestions.org/questi...ge+gcc+version
To install the Nvidia driver i do the following:
aptitude install module-assistant build-essential
Then run the following commands as root:
m-a update
m-a prepare
Next,stop X and run the installer script.
Let the installer modify your Xorg.conf file,restart X or reboot.
If all is well you should see the Nvidia logo when X restarts.
|
the trooper,
Thanks for the information. I shall give this a try.
|
|
|
|
06-16-2009, 10:53 AM
|
#8
|
|
Member
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by craigevil
Do it the easy way and use smxi. http://smxi.org/
do, as root: cd /usr/local/bin && wget smxi.org/smxi.zip && unzip smxi.zip && smxi
Sgfxi currently supports ATI fglrx and Nvidia drivers. It also supports converting from or to xorg free drivers like ati, intel, or nv. Smxi uses sgfxi as its graphics driver installer engine, but simply adds some option support for users.
The default driver is the driver that is installed if no arguments are used to override it. Unless your card is too old, and requires a legacy driver, in which case the script will it determine for you.
When you run the script, it will stop, and tell you what driver it is going to install. You can accept that, or exit and redo it with an override option if you want something different.
|
craigevil
I have never heard of the smxi. The website looks intriguing. I shall give the smxi a nice close look, and a try.
Fast Question, Is the "/usr/local/bin" directory the place to store scripts in a Debian (or any other linux distro)?
|
|
|
|
06-16-2009, 05:47 PM
|
#9
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
smxi was orginally wriitern for sidux, but since then it has been rewritten to work on any debian distro. For installing nvidia and using to install new kernels and apt-get dist-upgrade it works great.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|