![macports el capitan macports el capitan](https://project.auto-multiple-choice.net/attachments/1400/install-2.png)
#MACPORTS EL CAPITAN INSTALL#
Install the gtk library and dependenciesīrew install glib cairo gtk gettext fontconfig Install XQuartz ( download) at the time these instruction were written version 2.7.5 worked.Ģ. Unfortunately, if you have an older 32bit version these instructions will work but all the programs using gtk will fail to compile.ġ. Make sure that the system you are using has the 64bit version of the Haskell platform installed. These instructions are an update of the HomeBrew installation shown below (2008) for Mavericks. HomeBrew OS X Mavericks (64 bit, last checked 2014-05) 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.
![macports el capitan macports el capitan](https://www.pilotlogic.com/sitejoom/media/kunena/attachments/63/OSXYosemite-2015-11-01-20-54-19.jpg)
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)ġ.