perl: warning: Setting locale failed

简介:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "zh_CN:zh",
        LC_ALL = (unset),
        LC_MESSAGES = "zh_CN.UTF-8",
        LC_COLLATE = "zh_CN.UTF-8",
        LC_CTYPE = "zh_CN.UTF-8",
        LANG = "en_US"
    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").


 

/etc/profile增加

export LC_ALL=C
 

source /etc/profile



本文转自it你好 51CTO博客,原文链接:http://blog.51cto.com/itnihao/838582,如需转载请自行联系原作者

相关文章
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
304 0
configure: error: SELinux selected but libselinux not found
configure: error: SELinux selected but libselinux not found
107 0
configure: error: cups-config not found
configure: error: cups-config not found
99 0
|
C语言
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
645 0
|
Perl
configure error Perl version 5 is required!
configure error Perl version 5 is required!
232 0
dpkg: error processing package libraspberrypi-doc (--configure): package is in a very bad inconsistent state;
dpkg: error processing package libraspberrypi-doc (--configure): package is in a very bad inconsistent state; you should reinstall it before attemptin...
2742 0