[Haskell-cafe] Mac and Gtk2hs problem

Carter Schonwald carter.schonwald at gmail.com
Thu Jun 7 03:42:56 CEST 2012


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 at gmail.com> wrote:

> On 7 June 2012 03:01, Tanja Piechnick <tanja.piechnick at 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 at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
>
>
>
> --
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> http://IvanMiljenovic.wordpress.com
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120606/346d9431/attachment.htm>


More information about the Haskell-Cafe mailing list