【问题标题】:After installing astyle , command astyle does not work安装 astyle 后,命令 astyle 不起作用
【发布时间】:2013-06-03 18:11:33
【问题描述】:
$cd astyle/build/mac
$make
$bin/astyle

我无法设置本地语言环境,正在恢复为英语

【问题讨论】:

    标签: astyle


    【解决方案1】:

    astyle 正在测试LC_ALL 环境变量的值。你可以用$ echo $LC_ALL查看它的值:它很可能是空的。

    一个快速的解决方法是使用$ export LC_ALL="fr_FR.UTF-8",但在环境变量方面,Mac OS X 可能是一个奇怪的野兽。我建议你阅读这三个资源:

    http://www.dowdandassociates.com/content/howto-set-an-environment-variable-in-mac-os-x/

    Setting environment variables in OS X?

    https://superuser.com/questions/476752/setting-environment-variables-in-os-x-for-gui-applications

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-10-29
      • 2015-11-27
      • 1970-01-01
      • 1970-01-01
      • 2012-09-02
      • 2011-08-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多