[KLUG Members] Mandriva, rpm --rebuild and multiarch

Chester Wisniewski chetw at zuzax.com
Thu Dec 1 22:22:17 EST 2005


Scott Webster Wood wrote:

>OK, I just upgraded a machine to mandriva  2005 le and was venturing to add
>a new version of mozilla firefox on  it.  Whenever possible, I like to grab
>SRPMS and rebuild them  optimized for my machine if I can't find them in
>i586 or i686 format  already.  Needless to say, the version I found was part
>of the  fedora development platform - ok, fine.
>  
>  So I start down the list of dependent packages growing ever longer by  the
>minute. Most of the needed versions/tools are also from the fedora
>developer's version.  Most are installing just fine, but it seems  I'm
>running into something I have never encountered before on a couple  of them.
>This deals with 'multiarch' apparently in the rpm SPEC  files.  I get the
>following error when trying to do a rebuild of  the netscape libraries (and
>also libtiff):
>  
>  [rpm --rebuild nspr-4.6-4.src.rpm]
>  RPM build errors:
>      The following files ought to be marked as %multiarch:
>  /var/tmp/nspr-4.6-root/usr/bin/nspr-config
>  
>  In the case of libtiff, it was for the libtiff.h file.  I've tried
>modifying the spec as per at least what I perceive they are suggesting  on
>the following web page:
>  
>  http://qa.mandrivalinux.com/twiki/bin/view/Main/MultiArch
>  
>  then running 'rpmbuild -ba nspr.spec' but I just keep getting errors.
>(for libtiff, it says libtiff.h doesn't exist, for nspr.spec it seems  to
>spit out the syntax error standard to nspr.spec)
>  
>  What the &#@* do I need to do to get packages such as these to simply
>rebuild for my platform so I can install them?
>  
>  SW
>  
>
>
>
>_______________________________________________
>Members mailing list
>Members at kalamazoolinux.org
>
>  
>
Not to be a jackass (Which is actually a kind of penguin funny enough) 
but if you are a bit of a source hound, why arent you using a more 
source friendly distro like Gentoo. I happen to agree with Adam that the 
performance difference is often irrelevant, but I enjoy Gentoo as a way 
to sort of force me to learn more about the inner-workings of all the 
linux things I use. If you haven't played with it you should try it out, 
I think they have Live CD's too.

cw



More information about the Members mailing list