Re: FC5: touble building nvidia-kmod from livna

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

 



Phil Meyer wrote:
: Dean S. Messing wrote:
: > 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
: >   
: Examine the spec file again.  You will notice that the livna maintainers 
: like to build all the targets at once, and have the spec file set up to 
: do so.

Thanks Phil.  I did not understand the .spec file logic and you (and
Kenny Gow) provided the clue.  The logic (near the top) looked like
the variant was chosen based on the target (i686 in my case) but more
must be going on than that.


: All you want is one specific target.  You will notice in the spec file a 
: list of targets.
: Trim the list to just smp,
:

There's not really an explicit list of targets in the .spec file but
commenting out all the logic following

   %define kmod_name ...
   %define kvarrel ...

near the top of the file and placing

  %define kvariants smp

just following it (just above the "Name:" line) does the trick.

As I say, I still don't fully understand the mechanics of that logic
but that's for another time (unless you'd like to explain it to me :-).

:  and then don't specify --target on the 
: command line.

This is not correct in my case.  Leaving off the target
results in:

  error: Architecture is not included: i386.


Putting "--target i686" results in a clean build after
the above change was made.
What got built was 

  /usr/src/redhat/RPMS/i686:
      kmod-nvidia-smp-1.0.8774-1.2.6.15_1.2054_FC5.i686.rpm
      nvidia-kmod-debuginfo-1.0.8774-1.2.6.15_1.2054_FC5.i686.rpm

Not sure if I need to install the debuginfo or not.  I'll first
try w/o it.

Now on to building "xorg-x11-drv-nvidia".

Thanks for your help.

Dean

-- 
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