Skip to content

Instantly share code, notes, and snippets.

@erantapaa
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erantapaa/82b59282dee72347efc2 to your computer and use it in GitHub Desktop.
Save erantapaa/82b59282dee72347efc2 to your computer and use it in GitHub Desktop.
building gtk 2.x on OSX for Haskell

Check list for installing gtk 2.x for Haskell on OSX:

  1. Install XQuartz (link) - this is needed for the xcb-shm package config file.
  2. brew install gtk+
  3. export PKG_CONFIG_PATH=/usr/local/Cellar/cairo/(...whatever...)/lib/pkgconfig:/opt/X11/lib/pkgconfig/:
  4. Make sure alex and happy are installed - they are needed by gtk2hs-buildtools
  5. cabal install gtk2hs-buildtools
  6. cabal install gtk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment