RPM Community Forums

Mailing List Message of <rpm-users>

Re: Building a 32-bit RPM on a 64-bit machine?

From: devzero2000 <pinto.elia@gmail.com>
Date: Fri 29 Oct 2010 - 15:37:09 CEST
Message-ID: <AANLkTimXhctnFt8sMU=H6eGsHTkr7gNMQ5q079dH8FBO@mail.gmail.com>
It depends if your package use autoconf,automake,libtool or not. BTW, the
"standard"
way is setarch i386 rpmbuild --target=i386 --rebuild pippo.src.rpm, or
better use an automated tool that do this as mock, for
examplehttp://fedoraproject.org/wiki/Projects/Mock.
<http://fedoraproject.org/wiki/Projects/Mock>


Regards

On Fri, Oct 29, 2010 at 3:07 PM, Joe Flowers <joe.flowers@nofreewill.com>wrote:

> Hello again,
>
> I would like to be able to create a 32-bit RPM (with no 64-bit library
> dependencies) on a 64-bit machine.
>
> I have a 64-bit, SuSE development machine, and I would like to create an
> RPM on this 64-bit machine that will install 32-bit software on a 32-bit
> SuSE machine.
>
> Any ideas on the correct way for me to proceed?
>
> Thanks for any and all guidance!
>
> Joe
>
> P.S. Thanks very much Jeff for the answer to my "Creating an RPM to install
> a daemon" question.
>
> --------------
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
>
Received on Fri Oct 29 15:44:45 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.