There is no official GTK framework for Mac OS X available. They are working hard on it, but in the moment you are forced to compile the framework on your own, though the instructions don’t look that complicated. You could also use macports or fink, but when I use them I always encounter some problems, if a package doesn’t compile. I found an easy and fast solution to install the GTK framework for Mac OS X (using X11) and you also get cairo, pango and other libraries of the GTK project. Actually it’s done in two simple steps:
- Download the GTK_2.18.5-X11.pkg package from http://r.research.att.com/ and install it
- Add to your .profile file in the home directory:
Start Terminal.app and pkg-config is available, which is needed for configure or cmake. That’s it. I actually needed only the cairo and pango library to test the cairo drivers of PLplot on Mac OS X and so far this works without problems. Next I’ll try to compile Gnuplot and and see if this works.