Re: [tip:x86/urgent] Makefile: set LC_CTYPE, LC_COLLATE, LC_NUMERICto C

From: H. Peter Anvin
Date: Thu Dec 17 2009 - 18:47:31 EST


On 12/17/2009 03:44 PM, Masami Hiramatsu wrote:
> Roland Dreier wrote:
>>
>> > btw, something went wrong with it...
>>
>> > make[3]: `scripts/unifdef' ???????
>>
>> > when I ran with LC_ALL=C, it shows message correctly.
>>
>> > make[3]: `scripts/unifdef' is up to date.
>>
>> Do you have LANG and/or LC_MESSAGES set? LC_ALL will override all other
>> locale settings, so hpa explicitly unset it so that the other LC_xxx
>> variables will be used. But it means your environment's LC_MESSAGES (or
>> LANG if LC_MESSAGES is not set) will be used.
>
> Actually, I haven't touched it (I just installed Fedora11).
> And I think most of users don't set it too.
>

Fedora will typically set LANG. Do:

printenv | egrep '^(LANG|LC_)'

... to verify.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/