Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-07 Thread Tanja Piechnick
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?

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-07 Thread Ivan Lazar Miljenovic
On 7 June 2012 18:09, Tanja Piechnick tanja.piechn...@stud.uni-due.de wrote: 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

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-07 Thread Tanja Piechnick
All right. After a re-installation I could load my GTK2HS example successfully. But I received another error. What is the meaning of that? A wrong architecture? Prelude :l guitest.hs [1 of 1] Compiling Main ( guitest.hs, interpreted ) Ok, modules loaded: Main. *Main main Loading

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-07 Thread Heinrich Apfelmus
Tanja Piechnick wrote: All right. After a re-installation I could load my GTK2HS example successfully. But I received another error. What is the meaning of that? A wrong architecture? Prelude :l guitest.hs [1 of 1] Compiling Main ( guitest.hs, interpreted ) Ok, modules loaded:

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-07 Thread Brandon Allbery
On Thu, Jun 7, 2012 at 8:40 AM, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Tanja Piechnick wrote: Loading package glib-0.12.3.1 ... can't load .so/.DLL for: intl (dlopen(/usr/local/Cellar/**gettext/0.18.1.1/lib/libintl.**dylibhttp://0.18.1.1/lib/libintl.dylib, 9): no suitable image

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-07 Thread Carter Schonwald
Thats almost certainly what happened. (and that HP detail even had an unfortunate effect of having the machomebrew install defaults for ghc haskell-platform default to 32bit rather than 64bit for a while, though that was recently corrected) On Thu, Jun 7, 2012 at 9:05 AM, Brandon Allbery

[Haskell-cafe] Mac and Gtk2hs problem

2012-06-06 Thread Tanja Piechnick
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

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-06 Thread Ivan Lazar Miljenovic
On 7 June 2012 03:01, Tanja Piechnick tanja.piechn...@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:  

Re: [Haskell-cafe] Mac and Gtk2hs problem

2012-06-06 Thread 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