Installing Gtk 2 Hs On Mac OSX

Proxima
If GHC hasn't been installed, install the GHC package from http://www.haskell.org/ghc/dist/6.10.1/GHC-6.10.1-i386.pkg.

Install the GTK+ OS X Framework from http://ftp.imendio.com/pub/imendio/gtk-osx/Gtk-Framework-2.14-LATEST.dmg.

Download the Gtk2Hs sources from http://downloads.sourceforge.net/gtk2hs/gtk2hs-0.10.0.tar.gz and untar somewhere in your source directory.

Open a terminal in the newly created gtk2hs-0.10.0 directory and enter the following commands:

sudo port install pkgconfig
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/Library/Frameworks/Cairo.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/GLib.framework/Resources/dev/lib/pkgconfig:/Library/Frameworks/Gtk.framework/Resources/dev/lib/pkgconfig
./configure --disable-gio --enable-docs
make
sudo make install

-- MartijnSchrage - 09 Mar 2009