Nvidia driver install script: "Unable to determine the version of the kernel sources"
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You should have synaptic package manager. Open it and click on "installed" on the left side to see what is all installed. You need linux-headers for the current running kernel, to see which kernel you are using type: uname -r in a terminal.
By installing linux-headers with synaptic, you'll also end up installing dependencies, which is a good thing.
If in fact you are currently booted into 2.6.24-16-server kernel, and linux-headers-2.6.24-16-server package is installed, try passing an argument to the Nvidia installer similar to this when initiating it:
sh Nvidia-version_you_are_using-.run --kernel-source-path=/lib/modules/2.6.24-16-server/build/include/
Adding the /include part.
Apt and Aptitude do install dependencies.
The actual header files (files.h) should be in /lib/modules/2.6.24-16-server/build/include/linux. You can even try adding the /linux at the end also if just adding /include doesn't do it. Make sure the directory exists and it is full of ".h" files.
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Many thanks for the responses. I have in fact tried the command line option that specifies the location of the source files, ending with the "include" directory (".../include"). It would tell me that the version cannot be determined, and I seem to remember this was for lack of a version.h in the "kernel" directory (within that path). It would then tell me this is probably because I hadn't correctly "configured" my source files.
As a side note, that is exactly the kind of thing that really ruffles me in the linux world. The message was akin to someone walking into my woodworking shop...no, someone elses shop, and telling me it needs to be "configured correctly"...and then promptly walking out. I'll be damned if I have the slightest idea what "configured" OR "correctly" looks like, in either of these contexts.
For what it's worth, I'm running 2.6.27-9-generic.