OS X 10.7上的meld不起作用?

时间:2012-08-09 22:31:44

标签: macos install diff port meld

我正在使用端口在Mac OS上安装meld。

它已下载所有依赖项并告知一切正常:

Staging meld into destroot
Installing meld @1.5.3_0
Activating meld @1.5.3_0
Cleaning meld
Updating database of binaries: 100.0%
Scanning binaries for linking errors: 100.0%
No broken files found.

但是当我跑步时:

[18:28:24]~$ meld

追踪(最近一次呼叫最后一次):

File "/opt/local/bin/meld", line 75, in <module>

locale.setlocale(locale.LC_ALL,'')

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 539, in setlocale

return _setlocale(category, locale)

locale.Error: unsupported locale setting

问题是什么以及如何处理?

1 个答案:

答案 0 :(得分:17)

设置

export LANG=C; export LC_ALL=C

修复了问题并让我们运行。