Re: Cannot install source

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

 



On 10/22/05, rwhart@xxxxxxxxx <rwhart@xxxxxxxxx> wrote:
> Hi,
>   I need to compile the module for my nVidia dualhead.  I have tried to rpm -ivh
> kernel-2.6.11-1.1369_FC4.src.rpm repeatedly.  It reports no errors.
>
>   However, then I do rpm -qa | grep kernel*  and the source is not listed.  Also
> there is no kernels subdirectory in /usr/src
>
>   I have performed a rpm --rebuildb. Any other ideas?
>
> Thanks,
>
> Bob

If you just want to compile the nvidia module, then all you need are
the kernel headers.  To get those, you need to install the
kernel-devel rpm, not the kernel src.rpm.  Also, I highly suggest that
you update your system as that is a rather old kernel.  Note that
doing an rpm -ivh on a src.rpm is completely different from doing it
on a normal rpm.  If you want to whole kernel source code (which you
do not need for the above) you must perform more steps to get that
from the src.rpm.  Please note that all of this has been documented in
the release notes and many times in the list archives.  Well, at least
the part about getting the whole kernel source is in the release
notes, it looks like kernel-devel is not clearly mentioned.

Command to update system:
yum update

Command to install kernel-devel:
yum install kernel-devel

Jonathan


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

  Powered by Linux