On Fri, 2005-11-11 at 13:22 +0000, Axel Simon wrote:
> What's the advice? I don't quite know how you pick up the install path
> for Gtk2Hs, but I assume you install it somewhere into the directory
> where ghc is, right?
The installer is supposed to "Just Work"tm or give an error message. So
something is not right.
It looks like the packages have not been registered with ghc. One could
confirm this by using: ghc-pkg.exe list gtk
Then to see if there was some problem registering the packages one can
ghc-pkg.exe update "C:\Program Files\Gtk2Hs\glib.package.conf"
Or wherever else Gtk2Hs was installed to.
It would be interesting to know if that gives an error message or
If possible it would also be helpful to me to take a look at the
installer log. One can get the installer log by running the installer
with the following argument:
> -------- Forwarded Message --------
> From: Keith Hanna <F.K.Hanna@...>
> To: Axel Simon <A.Simon@...>
> Subject: gtk2hs query
> Date: Fri, 11 Nov 2005 12:39:07 -0000
> I've just, on my Windows laptop, installed ghc 6.4.1 and (earlier) gtk
> 2.8.6), and then gtk2hs 0.9.10. No trouble at all: everything fine.
> Yes, when I try running a trivial program (named "Test.hs"):
> module Main where
> import Graphics.UI.Gtk
> main = . . .
> using the command
> ghc --make Test
> the system responds with:
> Could not find module 'Graphics.UI.Gtk'
> Any advice? Have I forgotten to do something obvious?