On Monday 23 September 2002 05:32, St�phane Teletch�a wrote:
> I did some recompilation of src rpm (nvidia), and they are still compiled
> for i586 ...
>
> Stef
If you look in your /usr/lib/rpm/rpmrc file, you'll see a section that looks 
like this:

#############################################################
# For a given uname().machine, the default build arch

buildarchtranslate: athlon: i586  <==== Athlon builds to i586
buildarchtranslate: i686: i586  <==== i686 builds to i586
buildarchtranslate: k6: i586
buildarchtranslate: i586: i586
buildarchtranslate: i486: i486
buildarchtranslate: i386: i386


What you are experiencing is normal for Mandrake.  If you want to build for a 
higher architecture, you must create a /etc/rpmrc file to override the system 
defaults.  In fact, since uname -m reports i686 (try it) on an Athlon system, 
you have to tranlate the build architectures thusly:

buildarchtranslate: athlon: athlon
buildarchtranslate: i686: athlon
buildarchtranslate: k6: i586
buildarchtranslate: i586: i586
buildarchtranslate: i486: i486
buildarchtranslate: i386: i386

If you want, I'll send you the entire contents of my /etc/rpmrc file.  Hope 
this helps.
-- 
Gregory Meyer
___________________
[EMAIL PROTECTED]


Reply via email to