Wednesday, November 18, 2009

perl: warning: Please check that your locale settings:

If you ever get this from an Ubuntu install:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.utf8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


Just do:

you may have to regen the locales using "locale-gen " where localename is the name of the locale you want to regenerate (e.g. "en_US.UTF-8"), then "dpkg-reconfigure locales"


ref: http://ubuntuforums.org/showthread.php?t=75493