Download gtk for osx

broken image
broken image

Otherwise compiling gtk will fail.Īt the time of writing, the versions installed with these commands are alex-3.1.7, happy-1.19.5, gtk2hs-buildtools-0.13.2.1, glib-0.13.4.0, gtk-0.14.5. Make sure you install the gtk package with the flag -f have_quartz-gtk. If they are not installed separately, compiling them fails. The same goes for glib with respect to gtk. For some reason, they must be installed separately prior to installing gtk2hs-buildtools. The packages alex and happy are dependencies of dependencies of ghk2hs-buildtools. Set an environment variable to allow pkg-config to find the file gtk+-2.0.pc (mine is located at /usr/local/lib/pkgconfig):Įxport PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:Ĥ. Install GTK and the required librariesīrew install glib cairo gtk gettext fontconfig freetypeģ. Install XQuartz (version 2.7.9 at the time of writing):Ģ. HomeBrew OS X El Capitan (64 bit, last checked 2016-08)ġ. 3 HomeBrew OS X Mavericks (64 bit, last checked 2014-05).2 HomeBrew OS X El Capitan (64 bit, last checked 2016-08).