Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
BTW, you can get around the different compiler versions deal when compiling the nvidia module by setting IGNORE_CC_MISMATCH before you run the installer, if that is indeed the problem. You can set it by executing this command:
export IGNORE_CC_MISMATCH=1
Then run the installer as normal. But my guess is that's not your problem, since you seem to be using standard slackware packages for everything. I bet you just don't have the toolchain required to build the module installed.
root@david:/home/david# ld -v
GNU ld version 2.15.90.0.3 20040415
root@david:/home/david# make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
root@david:/home/david# gcc -v
bash: gcc: command not found
I do know that I have gcc installed though. Same error again, it complains about some line in some .sh-file. Can't remember which. I can find out if it will help.
Ok, well gcc is not in your path. Where did you install it? If you used the default Slackware packages it should be installed at /usr/bin/gcc. You may need to update your path to include gcc's location or else export the location in the CC variable before compiling the module.
export CC=/path/to/gcc
Also Post /var/log/nvidia-installer.log, so we can see exactly what happens.
So, here I am running the installer so that I can post the error log, and the thing actually works! I don't know what of all the things I tried that made it work, but now I have the driver installed. Thanks alot for putting up with my whining
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.