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


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

  Powered by Linux