Re: FC5: touble building nvidia-kmod from livna
- From: "Dean S. Messing" <deanm@xxxxxxxxxxxxx>
- Date: Mon, 11 Sep 2006 14:49:54 -0700 (PDT)
Kenny Gow 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
: >
: try setting kvariants to smp and make sure kversion is set to your
: kernel version (uname -r)
Thanks Kenny. Your clue (and Phil Meyer's) provides the solution. I
see what the problem was. Hardcoding "kvariants" in the .spec file
was the trick.
Dean
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- FC5: touble building nvidia-kmod from livna
- From: Dean S. Messing
- Re: FC5: touble building nvidia-kmod from livna
- From: Kenny Gow
- FC5: touble building nvidia-kmod from livna
- Prev by Date: Re: FC5: touble building nvidia-kmod from livna
- Next by Date: Re: FC5 system lockup with video display frozen
- Previous by thread: Re: FC5: touble building nvidia-kmod from livna
- Next by thread: Re: FC5: touble building nvidia-kmod from livna
- Index(es):
Relevant Pages
|