Re: FC5: touble building nvidia-kmod from livna

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

 



Peter Reed wrote:
Dean S. Messing wrote:
I'm having the devil of a time building (compiling) the nvidia-kmod
rpm for the kernel I'm running.  (Why does this have to be so hard!!!)

Here's what I've done.

I downloaded
 nvidia-kmod-1.0.8774-1.2.6.17_1.2174_FC5.src.rpm

from livna.  They don't have the module .rpm for the
2.6.15-1.2054_FC5smp which I'm running right now so I figured I'd
"just" build the .rpm.

I then "installed" the .src.rpm with `rpm -i'.

Then I  edited the .spec file, changing
      %{!?kversion: %define kversion 2.6.17-1.2174_FC5}


to

      %{!?kversion: %define kversion 2.6.15-1.2054_FC5}

at the beginning of the file.

I then did

rpmbuild -bb --target i686 nvidia-kmod.spec

and get the following error messages:

Building target platforms: i686
Building for target i686
error: Failed build dependencies:
kernel-devel-i686 = 2.6.15-1.2054_FC5 is needed by nvidia-kmod-1.0.8774-1.2.6.15_1.2054_FC5.i686 kernel-xen0-devel-i686 = 2.6.15-1.2054_FC5 is needed by nvidia-kmod-1.0.8774-1.2.6.15_1.2054_FC5.i686 kernel-kdump-devel-i686 = 2.6.15-1.2054_FC5 is needed by nvidia-kmod-1.0.8774-1.2.6.15_1.2054_FC5.i686


What I do have installed is:

# `rpm -qa | fgrep kern'

kernel-smp-devel-2.6.15-1.2054_FC5
kernel-smp-2.6.15-1.2054_FC5
glibc-kernheaders-3.0-5.2

What am I doing wrong?

Dean

You need to install the kernel developer files for your kernel.
yum install kernel-devel 2.6.15.2054_FC5
Peter

Another thing you are trying to build an .i686 version not the smp version. Might have to change some more options in the spec file. Not an expert here but that is what is looks like to me.
Peter

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux