SCIENTIFIC-LINUX-USERS Archives

February 2013

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:
Matthias Schroeder <[log in to unmask]>
Reply To:
Matthias Schroeder <[log in to unmask]>
Date:
Thu, 7 Feb 2013 10:12:29 +0000
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (1643 bytes) , smime.p7s (4 kB)
Hallo Frank,

do you have the redhat-rpm-config rpm installed on your build node?

Schoene Gruesse,

Matthias
 
On Feb 7, 2013, at 9:52 AM, "ZITBB Büttner, Frank" <[log in to unmask]> wrote:

> Hello list,
> I have try to rebuild an rpm package with use the %configure macro.
> This will fails, beacuse the %_host_vendor macro witch is placed at:
> /usr/lib/rpm/macros is set to "unknown" and not to "redhat" like the
> "%_vendor" macro in the same file. This will result that the build script will
> think it is an cross build. But it is not.
> 
> So I think it will be in an bug in SL Linux.
> 
> package: rpm-4.8.0-27.el6.x86_64
> 
> 
> Sample:
> %configure will result in:
> ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-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=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
> 
> but correct will be:
> ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-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=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
> 
> 
> Thanks
> 
> Frank Büttner



ATOM RSS1 RSS2