SCIENTIFIC-LINUX-USERS Archives

October 2004

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jaroslaw Polok <[log in to unmask]>
Reply To:
Jaroslaw Polok <[log in to unmask]>
Date:
Fri, 29 Oct 2004 09:28:09 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
Hi


> Anyways, I recompiling the source rpm.  However, I don't know how to get
> rpmbuild to produce the .i386.rpm.  How can I do this?

In theory (on x86_64):

rpmbuild --rebuild YOUR.src.rpm --target i386

shall do ...

In practice:

 rpmbuild --rebuild pango-1.2.5-2.0.src.rpm --target i386
Installing pango-1.2.5-2.0.src.rpm
Building target platforms: i386
Building for target i386
[...]
+ ./configure --host=x86_64-redhat-linux-gnu
--build=x86_64-redhat-linux-gnu --target=i386-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --without-qt --disable-gtk-doc
[...]

... so ... no luck ..

I guess that easiest is to build on i?86 and just copy over
(that;s what I do in any case ...)


Jarek

--
-------------------------------------------------------
_ Jaroslaw_Polok ___________________ CERN - IT/ADC/LE _
_ http://home.cern.ch/~jpolok ___ tel_+41_22_767_1834 _
_____________________________________ +41_78_792_0795 _

ATOM RSS1 RSS2