[Haskell-beginners] Help with Glade

Daniel Fischer daniel.is.fischer at web.de
Mon Sep 1 17:37:01 EDT 2008


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 at 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.


More information about the Beginners mailing list