Thursday, October 1, 2009

perl: warning: Setting locale failed

Error Message:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
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

Resolution: Run the commands

#locale-gen en_US.UTF-8 (or whatever locale you want)
#dpkg-reconfigure locales

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.