Skip to content

Instantly share code, notes, and snippets.

View obcode's full-sized avatar

Oliver Braun obcode

  • Munich University of Applied Sciences
  • Germany
View GitHub Profile
@obcode
obcode / gist:1656450
Created January 22, 2012 10:06 — forked from cartazio/gist:1655271
simple directions to install gtk haskell libs on OS X lion so that Everything works
note that these directions probably can use some cleanup, but i'm choosing these steps so that rebuilding any haskell library doesn't require remembering ANYTHING :-)
(tested on ghc 7.2.2, assumes you have standard developer things installed on mac, like x11 and stuff)
1) cabal install gtk2hs-buildtools #(this should work with any haskell platform install)
2) brew install cairo gtk gettext fontconfig
3) brew link cairo gettext fontconfig # brew will complain, who cares, this makes your life easier (at least if you're living in a haskell world :p )
4) download libfreetype, heres a URL you can use http://sourceforge.net/projects/freetype/files/freetype2/2.4.8/freetype-2.4.8.tar.bz2/download?use_mirror=iweb