Meld redux
July 14th, 2009
Meld is, by far, the best diff viewer & editor that I have used. Earlier I posted about getting Meld up and running on OSX and overcoming a couple of issues. With the current version of MacPorts (1.7.1) and Meld 1.2, it’s much easier
After installing MacPorts 1.7.1 and running sudo port install meld you will have Meld installed. But, most likely, when you try to run Meld it will give you an error similar to this:
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
To fix this simply run this command in Terminal:
sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
Now, when you try to run Meld in OS X you will get this:

July 28th, 2009 at 2:07 pm
Not sure what’s wrong, but I installed meld with macports. I tried running “sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist” But I still get the following error:
Xlib: extension “RANDR” missing on display “/tmp/launch-8Gi8Lz/:0″.
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Traceback (most recent call last):
File “/opt/local/bin/meld”, line 109, in
meldapp.main()
File “/opt/local/lib/meld/meldapp.py”, line 855, in main
app = MeldApp()
File “/opt/local/lib/meld/meldapp.py”, line 528, in __init__
self.prefs = MeldPreferences()
File “/opt/local/lib/meld/meldapp.py”, line 465, in __init__
prefs.Preferences.__init__(self, “/apps/meld”, self.defaults)
File “/opt/local/lib/meld/prefs.py”, line 91, in __init__
self._gconf.add_dir(rootkey, gconf.CLIENT_PRELOAD_NONE)
glib.GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details – 1: Failed to get connection to session: Not enough memory)
Don’t know much about CLI, do you know what’s wrong?
July 29th, 2009 at 9:54 pm
Mo, I found this that shows how to fix the error (at least it worked for me.)
Type these two commands into your terminal:
sudo launchctl load -w ${startup_root}/Library/LaunchDaemons/org.freedesktop.dbus-system.plist
sudo launchctl load -w ${startup_root}/Library/LaunchAgents/
org.freedesktop.dbus-session.plist
After running those if you navigate to /Library/LaunchDaemons/ and /Library/LaunchAgents/ you should see links their that point to the dbus files in MacPorts. Then it will work
October 18th, 2009 at 6:17 pm
Do not use sudo on the first one!
Here is how I get it installed on snow leopard:
$sudo port install meld
$launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
$sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist