Ouch, bad bug - try replacing ghci.exe that comes with
ghc-5.02 with the one found here:

   http://www.galconn.com/~sof/ghci.zip

--sigbjorn

----- Original Message -----
From: "John Heron" <[EMAIL PROTECTED]>
To: "Sigbjorn Finne" <[EMAIL PROTECTED]>
Sent: Monday, October 08, 2001 11:46
Subject: Re: Import Chasing Problems - hello.lhs


> Hi Sigbjorn,
>
> Thanks for your kind reply. I tried your suggestion and got:
>
> F:\stuff>ghci -package win32 hello.lhs
> C:\ghc-5.02\bin\ghc.exe: file `P?B' does not exist
>
> F:\stuff>ghci -package lang -package win32 hello.lhs
> C:\ghc-5.02\bin\ghc.exe: file `�?B' does not exist
>
> Sigbjorn Finne wrote:
>
> > John Heron [EMAIL PROTECTED] 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
> >
> > _______________________________________________
> > Haskell mailing list
> > [EMAIL PROTECTED]
> > http://www.haskell.org/mailman/listinfo/haskell


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to