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

Scott Webster Wood TreII28 at yahoo.com
Thu Dec 1 19:39:50 EST 2005


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
  





More information about the Members mailing list