To install meld on Mac OSX I try to run:
brew install meld
but I got the following error:
Error: No available formula for meld
What is the right way to install meld?
When this question was asked, it was not possible using Homebrew. They didn't support it yet.
There are alternative solutions to installing
Use a different package manager, like Fink, which is mentioned in meld's installation manual, or MacPorts, mentioned in the issue in Homebrew's issue tracker.
You can probably also compile from source, but need to get the dependencies yourself. Installing one of the other package managers might be easier than that.
As pointed out by @meduz in the comment above, meld now compiles file in brew (haven't tested yet), please try it first, since my original answer is much older.
Today is already possible install it using Homebrew:
I got a issue with pygtk, when I execute meld it says:
I already have pygtk installed from lion, and needed to export it to work:
Add the above line to your ~/.profile to set PYTHONPATH automatically when you open a terminal window.
Meld is in Homebrew's X11 repository. Running
I believe that the current correct brew commands are
However after running those commands I ended with the following, which I know that I have overcome on other installations on different macs in the past.
But this time I decided it wasn't worth my time since I couldn't remember the exact remedy.
Instead I found a simple DMG installer and script from Alex Kras to launch the Meld application installed by the DMG installer. The instructions are on his site. Note, though, that this DMG-installed version doesn't respond well to to the
As the formula for Homebrew disappeared i want to mention an alternative. There's this build as OS X application which is simple to install. It was last built in December '14 and requires some tweaks if you want to use it from the command line. I have not yet tried to figure out how.