当前位置: 首页 > 工具软件 > AutoGen > 使用案例 >

tslib执行./autogen.sh报错perl: warning: Falling back to the standard locale ("C").

吕扬
2023-12-01
perl: warning: Setting locale failed.
      perl: warning: Please check that your locale settings:
              LANGUAGE = "en_US.UTF-8",
              LC_ALL = "",
              LANG = "AMERICAN_AMERICA.UTF-8"
        are supported and installed on your system.
      perl: warning: Falling back to the standard locale ("C").

 

解决办法:

设置环境变量vi  ~/.bashrc,在最后加上:

LANGUAGE = "en_US.UTF-8",

export LANG=en_US:zh_CN.UTF-8

export LC_ALL=C

然后执行 . ~/.bashrc 即时生效

 类似资料: