kernel source and nVidia drivers

Bob Hartung rwhart at mchsi.com
Sun Jan 15 23:18:05 UTC 2006


J.K.
  okay I did the 'yum install kernel-devel' and the nVidia installer 
still complains that I don't have the source files installed.

Bob

J. K. Cliburn wrote:
> On 1/15/06, rwhart at mchsi.com <rwhart at mchsi.com> wrote:
> 
>>Hi all,
>>  I have upgraded to kernel-2.6.14-1.1656.  Following the FC4 release notes I
>>have installed the src.rpm changed to directory /usr/src/redhat/SPECS and run
>>the following command:
>>  rpmbuild -bp --target $(arch) kernel-2.6.spec
>>
>>  I moved teh /usr/src/redhat/BUILD/2.6.14-1 to /usr/src/kernels
>>
>>and makde a symbolic link from /usr/src/linux to /usr/src/kernels/2.6.14...
>>
>>I cd to this directory and cp configs/kernel-2.6.14-1.config to .config
>>
>>i issued the command make oldconfig , i do not get this but I did it anyway.
>>
>>when trying to build the nVidia driver, i repeatedly am told that the kernel.h
>>file is not installed.  I am at an impass.  Any suggestions?
> 
> 
> yum install kernel-devel
> 
> That'll install the necessary headers so you don't have to rebuild the
> kernel each time a new one is released, and nvidia will build its
> module successfully against those headers.
> 




More information about the fedora-list mailing list