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 1L9RHV-00063V-Nt for garchives@archives.gentoo.org; Sun, 07 Dec 2008 21:35:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6187DE01ED; Sun, 7 Dec 2008 21:35:10 +0000 (UTC) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.244]) by pigeon.gentoo.org (Postfix) with ESMTP id 9216FE01ED for ; Sun, 7 Dec 2008 21:35:09 +0000 (UTC) Received: by rv-out-0708.google.com with SMTP id b17so941687rvf.46 for ; Sun, 07 Dec 2008 13:35:09 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=cmGqyjoH4Fkyqkgc46XMDJ8WhcujGkS2P8JbmIGVZT0=; b=XKJP2jcHtqv+ieyYb12tEnfz9wityw9mC/10LgEwOfGXCq+tz2OULghzDwzARGCeFi TSt3YOdAcx6CQ6Vs45OzpQZOMKjjIwx/C8lV0YGuzgDBenY7WWvC6fQixBqlu009eKzv pucbn82TeGh/Io7hJs+kYEAkByZ9+6322a6WI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=shOrbFeYgQlfELEM0FQ6HDgaln6I4dm1F4vLmN+NNgYMtitd2c1uGg7htdBl9uYsvz qm2f1/QeX6PsfeNiHU10YKH826nLe3ZSCEt7mGpf9XT/MjmpwXwZlYR9DZInGLesQL1r dpJ/o2m2V3UtZHLeC32E8kLdDUsNm/M+SGSyA= Received: by 10.142.156.2 with SMTP id d2mr1135660wfe.102.1228685709144; Sun, 07 Dec 2008 13:35:09 -0800 (PST) Received: by 10.142.217.2 with HTTP; Sun, 7 Dec 2008 13:35:09 -0800 (PST) Message-ID: <5bdc1c8b0812071335x51af155cn6a497a0d2449d266@mail.gmail.com> Date: Sun, 7 Dec 2008 13:35:09 -0800 From: "Mark Knecht" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] locale issue to clean up 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 25686fa0-0899-409f-8d09-1bace79e1635 X-Archives-Hash: cbd595437d89921c555db907cb26fde5 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 ~ #