Also: if you have only very recently built gtk etc via mac homebrew, you need to build the head version of gtk2hs and family. (there was a header file / api change at some point regarding gtk, and only the darcs HEAD version of gtk2hs et al has been updated to reflect that.)
On 7 June 2012 03:01, Tanja Piechnick <tanja.piechnick@stud.uni-due.de> wrote:Just to confirm for us, as the same user can you please run the following:
> Hey Haskell-Cafe,
>
> I would like to run GTK2HS on my Mac 10.6.8 but after the successful
> installation with Homebrew of all modules (GTK+, GTK2HS) I get this failure
> message:
>
> Prelude> :l guitest.hs
>
> guitest.hs:1:8:
> Could not find module `Graphics.UI.Gtk':
> Use -v to see a list of the files searched for.
> Failed, modules loaded: none.
ghc-pkg list gtk
As well as:
ghc-pkg check
I don't think this is a PATH problem; possibly a problem with library paths.
>
>
> I always changed my PATH. This is the content of my PATH:
>
> /usr/bin
> /bin
> /usr/sbin
> /sbin
> /usr/local/bin
> /Developer/usr/bin
> /Users/tanjapiechnick/.cabal/bin
> $HOME/.cabal/bin
> _______________________________________________
>
> Is that correct? Where is the mistake?
>
> Thank you for any help!
> Greetings from Namibia
>
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Ivan Lazar Miljenovic
Ivan.Miljenovic@gmail.com
http://IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe