John Heron jheron@enteka.com writes:
I just installed ghc 5.02 on my NT 4.0 machine, and I'm wondering if the import chasing is broken for ghc-5.02 on Windows NT? Or perhaps there is yet another thing I don't understand about Haskell's environment or modules? I got the following complaints when trying to compile Sigborn Finne's Win32 example hello.lhs (http://www.dcs.gla.ac.uk/~sof/hello.lhs):
F:\stuff>ghc -o hello hello.lhs
hello.lhs:14: failed to load interface for `Win32': Could not find interface file for `Win32'
... Hi, have a look at the top of that file - it tells you what options you need to feed GHC to compile the example (well, the options it suggests are deprecated by The Powers That Be; you ought to use "-package" instead of "-syslib"). Simpler yet, try running it via ghci: c:\src\haskell> ghci -package win32 hello.lhs and then evaluate 'main'. hth --sigbjorn btw, notice that ghc-5.02 currently has got a problem or two with the Win32 library -- see http://www.haskell.org/pipermail/glasgow-haskell-bugs/2001-October/000816.ht ml