解决依赖问题是遇到如下错误:
[CODE]perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "zh_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").[/CODE]
是由于本地字符集LANG和LC_ALL设置的问题,解决方法:
export LC_ALL=en_US.ISO8859-1
export LANG=en_US.ISO8859-1
执行或将其加入/etc/profile,并修改/etc/sysconfig/i18n文件.
阅读(400) | 评论(0) | 转发(0) |