![从 git 克隆时我收到:perl:警告:设置语言环境失败](https://linux22.com/image/994361/%E4%BB%8E%20git%20%E5%85%8B%E9%9A%86%E6%97%B6%E6%88%91%E6%94%B6%E5%88%B0%EF%BC%9Aperl%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E8%AE%BE%E7%BD%AE%E8%AF%AD%E8%A8%80%E7%8E%AF%E5%A2%83%E5%A4%B1%E8%B4%A5.png)
我的操作系统是 Linux Ubuntu Desktop 16.04。我使用以下命令从 git 服务器克隆文件:
$ git clone basecamp:some_acount
并收到此警告:
Cloning into 'some_acount'...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_PAPER = "uk_UA.UTF-8",
LC_ADDRESS = "uk_UA.UTF-8",
LC_MONETARY = "uk_UA.UTF-8",
LC_NUMERIC = "uk_UA.UTF-8",
LC_TELEPHONE = "uk_UA.UTF-8",
LC_IDENTIFICATION = "uk_UA.UTF-8",
LC_MEASUREMENT = "uk_UA.UTF-8",
LC_TIME = "uk_UA.UTF-8",
LC_NAME = "uk_UA.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 13 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (13/13), 7.73 KiB | 0 bytes/s, done.
Checking connectivity... done.
我有两个问题:
- 我的文件(扩展名为“.a”的静态 c++ 库)会出现问题吗?
- 我该如何解决这个警告?
答案1
这不会影响结账。这主要是一个警告。当我从我的 Mac 登录 Linux PC 时,我得到了类似的信息。很烦人,但无害。