Re: kernel source and nVidia drivers - Start Over

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/15/06, Bob Hartung <rwhart@xxxxxxxxx> wrote:
> Note: in earlier posts, yum update kernel-devel downloaded and installed
> 1.6.14-14xx rather then 1656.  It took me a long time to figure this out.
>
> Problem:  updated to kernel-2.6.14-1.1656 and can't get nVidia drivers
> compiled.
>
> Downloaded kernel-2.6.14-1.1656_FC4.src.rpm and installed with rpm -Uvh
>
> cd'd to /usr/src/redhat/SPECS
>
>   ran rpmbuild -bp --target $(arch) kernel-2.6.spec
>
>   copied the resulting linux-2.6.14 subdirectory to /usr/src and made a
> sym link 'linux' to /usr/src/linux-2.6.14
>
>   tried to again build the nVidia driver by running:
>      NVIDIA-Linux-x86-1.0-8178-pkg1.run
>
>   this again failed saying that /usr/src/linux/include/linux/kernel.h
> was not installed, but it is.  Any ideas?
>
> Thanks for putting up with this!
>
> Bob

Okay.  How about we start over and do it the right way?  You really do
not want to go through the trouble of doing the source rpm stuff just
to compile the nVidia drivers.  What you want is the kernel-devel
package.  It is designed specifically for your problem.  Once you get
it installed correctly, you won't have to worry with it again as yum
will update it with your kernel.  Much better than having to get the
src.rpm and do an rpmbuild every time...
Undo everything you have with the manual source stuff (especially any
links you made) and try installing the kernel-devel rpm instead.  Make
sure you get the right version and that it installs correctly.  If
some link you made manually is in the way, it might not work right.

Jonathan


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux