2012-08-09 153 views
9

我正在使用端口在Mac OS上安裝meld。meld在OS X 10.7不起作用?

它已下載的所有依賴關係,並告知一切正常:

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 

什麼是問題以及如何處理它?

回答

17

設置

export LANG=C; export LC_ALL=C 

固定的問題,讓MELD運行。