Thank you for your response. 

If I execute "ghc-pkg list gtk" I receive this output:

> ghc-pkg list gtk
/usr/local/Cellar/ghc/7.0.4/lib/ghc-7.0.4/package.conf.d
/Users/tanjapiechnick/.ghc/i386-darwin-7.0.4/package.conf.d

But "ghc-pkg check" gives me no results

>ghc-pkg check
>

Is this the issue?

 if you have only very recently built gtk etc via mac homebrew, you need to build the head version of gtk2hs and family

Ok, and where can I get these informations?








Am 07.06.2012 um 02:42 schrieb Carter Schonwald:

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 Wed, Jun 6, 2012 at 6:27 PM, Ivan Lazar Miljenovic <ivan.miljenovic@gmail.com> wrote:
On 7 June 2012 03:01, Tanja Piechnick <tanja.piechnick@stud.uni-due.de> wrote:
> 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.

Just to confirm for us, as the same user can you please run the following:

     ghc-pkg list gtk

As well as:

     ghc-pkg check

>
>
> 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

I don't think this is a PATH problem; possibly a problem with library paths.

>
> 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