
Am Dienstag, 2. September 2008 00:21 schrieb Paul Johnston:
Sorry if it's a bit off topic but could anyone give me some pointers.
Install Glade-3 (3.4.5) works great as a standalone
However when trying to import Glade using the snippet below:
module Main where
import Graphics.UI.Gtk import Graphics.UI.Gtk.Glade
I get:
paulj@linux-yrwq:~/haskell> ghc --make hello3.hs -o hello3
hello3.hs:4:7: Could not find module `Graphics.UI.Gtk.Glade': Use -v to see a list of the files searched for.
I'm fairly certain I'm missing an entry in package.conf as there are ones for glib and cairo!
Any thoughts gratefully accepted.
Paul
Did you build Gtk2Hs before you installed Glade? In that case the configure step determined that no glade is available and decided not to build that module. Then re-installing (complete: configure, build, install) Gtk2Hs should do the trick.

On Monday 01 September 2008 22:37:01 Daniel Fischer wrote:
Am Dienstag, 2. September 2008 00:21 schrieb Paul Johnston:
Sorry if it's a bit off topic but could anyone give me some pointers.
Install Glade-3 (3.4.5) works great as a standalone
However when trying to import Glade using the snippet below:
module Main where
import Graphics.UI.Gtk import Graphics.UI.Gtk.Glade
I get:
paulj@linux-yrwq:~/haskell> ghc --make hello3.hs -o hello3
hello3.hs:4:7: Could not find module `Graphics.UI.Gtk.Glade': Use -v to see a list of the files searched for.
I'm fairly certain I'm missing an entry in package.conf as there are ones for glib and cairo!
Any thoughts gratefully accepted.
Paul
Did you build Gtk2Hs before you installed Glade? In that case the configure step determined that no glade is available and decided not to build that module. Then re-installing (complete: configure, build, install) Gtk2Hs should do the trick. _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
That sorted the issue out brilliantly :-) Regards Paul
participants (2)
-
Daniel Fischer
-
Paul Johnston