From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L9RbL-0002TP-LV for garchives@archives.gentoo.org; Sun, 07 Dec 2008 21:55:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDACBE01E8; Sun, 7 Dec 2008 21:55:40 +0000 (UTC) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 9A57BE01E8 for ; Sun, 7 Dec 2008 21:55:40 +0000 (UTC) Received: by wf-out-1314.google.com with SMTP id 29so892867wff.10 for ; Sun, 07 Dec 2008 13:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=TfrLVsbRw7O7rMRpMqKrhQcfLXI8mD4q4WoWQ+uHu5s=; b=e0qtE58NnCvihX5ggrJSe2YEBQsEETS6/+DycucEzq16glUxTR3kDL+R0xGs+iIu0v DBM16UNGVeuIdyO+yPrdWG1qF44q1Oy03ma8+XSAf/chVabAsAlUpAkpLj28aM94aq7O PeTk4AJunC5hF0KmPWhGnGeDskNAglIwJZ9so= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=h82tKcw79vIGbZMtLX86bgJNr5uQSxTO+sfzuKR0XInkUdCluW2xHzd4yhhQTQVgRj 09g4f/TjgswtA1r8YRFJ+5rSqRN3GuAki+bdq9TvP6jbb2g6mc/gNUZRT7HwxLOw5PHn cVqHkr21W4geIsMJFVKdNKZShtDqXyuDxXBXM= Received: by 10.143.160.1 with SMTP id m1mr1148366wfo.2.1228686940198; Sun, 07 Dec 2008 13:55:40 -0800 (PST) Received: from ?4.230.99.54? (dialup-4.230.99.54.Dial1.Houston1.Level3.net [4.230.99.54]) by mx.google.com with ESMTPS id 24sm184361wff.57.2008.12.07.13.55.32 (version=SSLv3 cipher=RC4-MD5); Sun, 07 Dec 2008 13:55:39 -0800 (PST) Message-ID: <493C464B.1010205@gmail.com> Date: Sun, 07 Dec 2008 15:55:23 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081123 SeaMonkey/1.1.13 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] locale issue to clean up References: <5bdc1c8b0812071335x51af155cn6a497a0d2449d266@mail.gmail.com> In-Reply-To: <5bdc1c8b0812071335x51af155cn6a497a0d2449d266@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 57c97d2d-6c7f-48cd-8511-f5fc2f7b67e6 X-Archives-Hash: 0abef6208a4067dc32fc2719d36890a5 Mark Knecht wrote: > My Gentoo desktop has had a locale problem for longer than I can > remember. I haven't been able to solve it on my own, but it didn't > seem too important. More a frustration. I switched my profile to the > 2008.0 desktop a few days ago. Everything seems to be working but I'm > getting more of these locale-ish messages now so I'd like to figure > out what I've done wrong. > > Here's one typical message I might see when running emerge --depclean: > > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = "en_US", > LANG = (unset) > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > > The line about falling back to the standard locale "C" is pretty > standard. I also see this in k3b every time I start the program. As I > do a lot of audio work I'd really like to make sure the CDs I burn on > this machine will be acceptable to folks/friends/customers. Here's > what I see in k3b: > > > System locale charset is ANSI_X3.4-1968 > Your system's locale charset (i.e. the charset used to encode > filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this > has been done intentionally. Most likely the locale is not set at all. > An invalid setting will result in problems when creating data > projects. > Solution: To properly set the locale charset make sure the LC_* > environment variables are set. Normally the distribution setup tools > take care of this. > > > I don't have a clue what's wrong and the Gentoo pages about locale > setup seem to make some assumptions about my understanding of what > this does and how it does it that I'm not living up to so I really > don't know what to provide. I'll start with this and we'll see how it > goes. It seems that possibly I'm supposed to hand edit > /etc/env.d/02locale but in my longish history of running Gentoo (as a > user type) I don't believe I've ever had to edit that so I'm thinking > I must have messed up some other config file somewhere? > > Thanks in advance, > Mark > > lightning ~ # cat /etc/locale.gen > en_US ISO-8859-1 > en_US.UTF-8 UTF-8 > lightning ~ # > > lightning ~ # locale > LANG=en_US > LC_CTYPE="en_US" > LC_NUMERIC="en_US" > LC_TIME="en_US" > LC_COLLATE="en_US" > LC_MONETARY="en_US" > LC_MESSAGES="en_US" > LC_PAPER="en_US" > LC_NAME="en_US" > LC_ADDRESS="en_US" > LC_TELEPHONE="en_US" > LC_MEASUREMENT="en_US" > LC_IDENTIFICATION="en_US" > LC_ALL= > lightning ~ # > > lightning ~ # cat /etc/env.d/02locale > LANG=en_US > lightning ~ # > > > Check in your /etc/make.conf file and see if you have !some! of this: INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="nvidia" LINGUAS="en" LANG="en_US" LC_ALL="en_US.utf8" SANE_BACKENDS="hp" NUT_DRIVERS="cyberpower" ALSA_CARDS="emu10k1" CAMERAS="canon" LCD_DEVICES="" APACHE2_MODULES="" Keep in mind, your settings may vary from mine but some may need to be just like mine. Also, if you do a emerge -pv , it will show what options are on and also what is available to use if nothing is set. Not all packages will use those settings so don't be concerned if it doesn't show them on those. Hope that helps. Dale :-) :-)