Site Navigation
Blog Navigation
Search
Sponsored Links

Categories
Archives
Compiling the Linux nVidia Driver on FC6

So my #2 machine at work runs Fedora Core 6. I recently upgraded the card in it, and the nVidia driver refused to install, because it couldn’t find an include, linux/config.h. This include file was removed by Fedora for Core 6; it’s use is deprecated anyway by the kernel maintainers, so nVidia should go back and update their legacy drivers or something.

I did some googling, and the correct solution here is to extract the package, and modify a file, like so:

su
mv /path/to/nvidia/driver/that/you/downloaded/b4/u/did/su .
sh NVIDIA-Linux-x86-1.0.version-pkg1.run -x
cd NVIDIA-Linux-x86-1.0.version-pkg1/usr/src/nv
vi nv-linux.h
[replace #include with #include ]
cd ../../../..
./nvidia-installer

And that’s all there is to it. Now edit your xorg.conf if you need to.


Posted December 15, 2006 at 3:35 pm in computing, linux Permalink
Comments