Thomas Davie wrote:
For me, this worked:
sudo port install ghc
sudo port install gtk2
sudo port install cairomm
curl http://downloads.sourceforge.net/gtk2hs/gtk2hs-0.10.0.tar.gz > gtk2hs-0.10.0.tar.gz
tar xvfz gtk2hs-0.10.0.tar.gz
normal install stuff here.

It worked!
I had to throw out gtk2, which was present in an incompatible version.

Then I did make/make install, and tried compiling a few apps in the demo catalog.
Most of them show up, but with these errors:
Xlib:  extension "RANDR" missing on display "/tmp/launch-UoNAfJ/:0".
Xlib: extension "Generic Event Extension" missing on display "/tmp/launch-UoNAfJ/:0".

Testing out the demos, it seems it can't find
Graphics.UI.Gtk.Glade,
Graphics.Rendering.OpenGL
System.Gnome.GConf
System.Gnome.VFS
Media.Streaming.GStreamer
Graphics.UI.Gtk.MozEmbed
Graphics.UI.Gtk.SourceView
Graphics.Rendering.Cairo.SVG


Any idea on whether I should:
port install some package
port install some package + reinstall gtk2hs
haskell install some package
haskell install some package + reinstall gtk2hs?



In pango, I get
Layout.hs:41:44: Not in scope: type constructor or class `Event'
Layout.hs:42:20: Not in scope: data constructor `Expose'
..but I got that on Windows too.

...and demo/arabic does not show any arabic



Bob


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to