[Haskell-cafe] Mac and Gtk2hs problem

Tanja Piechnick tanja.piechnick at stud.uni-due.de
Thu Jun 7 10:09:00 CEST 2012


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 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/20120607/8d4dd6d3/attachment.htm>


More information about the Haskell-Cafe mailing list