Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
I am trying to install nVidia drivers for my old TNT2 Vanta.
I downloaded the driver package for legacy devices - it turned to be "NVIDIA-Linux-x86-1.0-7184-pkg1.run". I exited X, switched to "init 3", ran the installer, but it says the source is not configured properly (definitely not true).The log file saysa the installer was actually looking for non-existent ".h" files in the kernel source directory (which are linux kernel headers, aren't they?).
Does it mean that I need linux kernel headers?
If so, where do I get them from?
You can get the headers the same place you get/got the kernel itself.
I use yumex to find it on Fedora.
for that matter you could, tht is what I do, get the kmod-nvidia-####.rpm for the kernel you are using and install it.
Hm, ... well ... yeah, I can get into fedora, but...
Ain't it the LFS forum, after all? There's no fun getting the kernel-source-***.rpm, kernel-headers-***.rpm (or whatever it's called) and build this kernel under Fedora.
Question: Is there something like "native" linux headers? If so, where can one find them? If not, how one installs nVidia drivers under LFS (some guys did it, right)?
did you keep the kernel source from when you compiled the kernel? If you didn't, redownload the linux kernel source, unpack it in /usr/src, and recompile the kernel. For some reason, kernel modules need to have the files created during compilation to be in the source tree, so recompiling is necessary for the source to be of any use.