From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] SNIP warning: setlocale: LC_ALL error
Date: Thu, 17 Jul 2014 22:55:10 -0500 [thread overview]
Message-ID: <53C89A9E.3010904@gmail.com> (raw)
In-Reply-To: <201407172308.46037.michaelkintzios@gmail.com>
Mick wrote:
> On Thursday 17 Jul 2014 22:41:45 Dale wrote:
>> Howdy, different rig but similar issue. This is on my main rig now. It
>> is AMD64 multilib. I am doing a emerge -e world, which I do from time
>> to time. After that got to the point where it is almost done, I started
>> getting this:
>>
>> perl: warning: Setting locale failed.
>> perl: warning: Please check that your locale settings:
>> LANGUAGE = (unset),
>> LC_ALL = "en_US.UTF8",
>> LANG = "en_US.UTF8"
>> are supported and installed on your system.
>> perl: warning: Falling back to the standard locale ("C").
>> sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>>
>> and like this:
>>
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>>
>>>>> Regenerating /etc/ld.so.cache...
>> sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8)
>>
>> The error seems to vary depending on command run. This is my locale.gen
>> file:
>>
>> LANG="en_US.UTF8"
>> LC_CTYPE="en_US.UTF8"
>> LC_NUMERIC="en_US.UTF8"
>> LC_TIME="en_US.UTF8"
>> LC_COLLATE="en_US.UTF8"
>> LC_MONETARY="en_US.UTF8"
>> LC_MESSAGES="en_US.UTF8"
>> LC_PAPER="en_US.UTF8"
>> LC_NAME="en_US.UTF8"
>> LC_ADDRESS="en_US.UTF8"
>> LC_TELEPHONE="en_US.UTF8"
>> LC_MEASUREMENT="en_US.UTF8"
>>
>> I'm on sys-libs/glibc-2.17 right now.
>>
>> Now riddle me this, why is this popping up all of a sudden? Did
>> something change and I missed it? When I google, I find folks with
>> settings like mine and it works. Is this something new that just hasn't
>> hit everyone yet?
>>
>> Confused.
> /etc/locale.gen ought to show something like:
>
> en_US.UTF-8 UTF-8
>
> rather than what you show in your message. /etc/env.d/02locale can show what
> you have in your message above, but typically only this is necessary:
>
> LANG="en_US.UTF-8"
>
> (In mine I also have: LC_TIME="POSIX" and LC_COLLATE="C", but most users
> wouldn't).
>
I got that off a howto somewhere. I think it is a Gentoo one. Anyway,
commented all that out and left the one line, ran locale-gen and it
seems to have fixed it. Keep in mind, it's been that way for quite a
long time. No clue why it decides to moan about it now.
Thanks.
Dale
:-) :-)
next prev parent reply other threads:[~2014-07-18 3:55 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 1:50 [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error Dale
2014-07-15 2:02 ` Hinnerk van Bruinehsen
2014-07-15 2:19 ` Dale
2014-07-15 2:35 ` Hinnerk van Bruinehsen
2014-07-15 3:44 ` Dale
2014-07-15 5:33 ` Dale
2014-07-15 7:04 ` Hinnerk van Bruinehsen
2014-07-15 7:40 ` Dale
2014-07-15 8:15 ` Hinnerk van Bruinehsen
2014-07-15 8:40 ` Hinnerk van Bruinehsen
2014-07-15 9:25 ` Dale
2014-07-15 18:52 ` Douglas J Hunley
2014-07-15 19:18 ` Dale
2014-07-16 7:32 ` Dale
2014-07-16 7:46 ` Helmut Jarausch
2014-07-16 8:43 ` Dale
2014-07-16 9:19 ` Dale
2014-07-16 10:33 ` J. Roeleveld
2014-07-16 15:44 ` Dark Templar
2014-07-16 17:26 ` Dale
2014-07-16 21:09 ` Mick
2014-07-16 21:34 ` Dale
2014-07-17 4:52 ` J. Roeleveld
2014-07-17 7:19 ` J. Roeleveld
2014-07-17 9:03 ` Dale
2014-07-17 9:19 ` J. Roeleveld
2014-07-17 10:45 ` J. Roeleveld
2014-07-18 9:18 ` Dale
2014-07-18 9:38 ` J. Roeleveld
2014-07-18 12:44 ` Jc García
2014-07-17 9:20 ` Peter Humphrey
2014-07-17 13:24 ` Peter Humphrey
2014-07-16 17:21 ` Dale
2014-07-17 0:39 ` [gentoo-user] " walt
2014-07-17 1:01 ` Dale
2014-07-17 21:41 ` [gentoo-user] SNIP " Dale
2014-07-17 22:08 ` Mick
2014-07-18 3:55 ` Dale [this message]
2014-07-18 4:32 ` Jc García
2014-07-17 22:48 ` Peter Humphrey
2014-07-18 5:54 ` Mick
2014-07-18 8:12 ` Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53C89A9E.3010904@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox