使用macport在mac lion上安装meld

时间:2013-08-27 19:38:32

标签: macos osx-lion meld

我已经使用macport成功安装了meld,但是在启动后meld说:

Last login: Tue Aug 27 21:28:07 on ttys001
/opt/local/bin/meld ; exit;
iMac-di-Eros:~ Eros$ /opt/local/bin/meld ; exit;
Couldn't bind the translation domain. Some translations won't work.
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gobject/__init__.py:115: Warning: attempting to add an interface (GtkEditable) to class (HistoryFileEntry) after class_init
  type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
  File "/opt/local/bin/meld", line 138, in <module>
    main()
  File "/opt/local/bin/meld", line 129, in main
    from meld.meldapp import app
  File "/opt/local/lib/meld/meld/meldapp.py", line 199, in <module>
    app = MeldApp()
  File "/opt/local/lib/meld/meld/meldapp.py", line 113, in __init__
    self.prefs = preferences.MeldPreferences()
  File "/opt/local/lib/meld/meld/preferences.py", line 265, in __init__
    super(MeldPreferences, self).__init__("/apps/meld", self.defaults)
  File "/opt/local/lib/meld/meld/util/prefs.py", line 93, in __init__
    self._gconf.add_dir(rootkey, gconf.CLIENT_PRELOAD_NONE)
glib.GError: Contatto col server di configurazione non riuscito; tra le possibili cause la mancanza o l'errata configurazione del demone del bus di sessione D-Bus. Consultare http://projects.gnome.org/gconf/ per ulteriori informazioni (dettagli -  1: Recupero delle connessione alla sessione non riuscito: Session D-Bus not running. Try running `launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist'.).
logout

这样:

export PYTHONPATH=/usr/local/lib/python2.7/site-packages/

不起作用

任何帮助? 感谢

1 个答案:

答案 0 :(得分:0)

从命令行启动:

launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

做了这个伎俩