linux-users archive

Mandriva, rpm --rebuild and multiarch


New Message Reply Date view Thread view Subject view Author view

From: Scott Webster Wood (email_suppressed_at_lugwash.org)
Date: Thu 01-Dec-2005 04:06:10 PM EST


 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
  

                
---------------------------------
 Yahoo! Personals
 Single? There's someone we'd like you to meet.
 Lots of someones, actually. Yahoo! Personals

--
***  Sent from [e-mail suppressed]  ***  http://www.lugwash.org
to unsubscribe: `echo "unsubscribe" | mail [e-mail suppressed]`

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.1.5 : Sun 01-Jan-2006 01:00:01 AM EST