bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
编译出现标题所述问题,网上找到解决方法。
sudo apt-get update sudo apt-get install locales -y sudo locale-gen en_US.UTF-8 sudo dpkg-reconfigure locales sudo update-locale LC_ALL=en_US.UTF-8 #或者手动编辑 hubery@roaster:~$ cat /etc/default/locale #LANG="en_IN"(old locale) #LANGUAGE="en_IN:en"(old setting) LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8

浙公网安备 33010602011771号