[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Building dual-arch RPMs
- From: Jos Vos <jos xos nl>
- To: "Red Hat Enterprise Linux 4 (Nahant) Discussion List" <nahant-list redhat com>
- Subject: Re: Building dual-arch RPMs
- Date: Mon, 6 Mar 2006 21:37:41 +0100
On Mon, Mar 06, 2006 at 01:44:08PM -0500, Ralph Smith wrote:
> For some reason the target option of rpmbuild does not correctly set
> all of the rpm macros correctly. I have found that some packages like
> this can be built (on an x86_64 system for i386 target, presumably
> similar to your case) if a line
>
> %define _lib lib
>
> is inserted near the top of the spec file. (_lib is set to lib64
> on 64-bit systems even when building 32-bit.) That should fix the
> particular error you found for "target ppc". Perhaps an RPM guru
> can tell us (and redhat) where this really should be set.
Is building i386 RPMs on x86_64 (for example) supported at all?
Won't for example several configure scripts work incorrectly anyway?
The other way around, even building "just" x86_64 on x86_64 fails in
several cases when multiple instances (i386 and x86_64) of some lib
packages are installed.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]