Path Issues on Windows 2000

Reuben Thomas rrt at dcs.gla.ac.uk
Wed Sep 26 06:38:05 EDT 2001


> I just succesfully installed GHC 5.02 on Windows 2000, and it (basically)
> worked.
> 
> However, I have run in to a couple of issues:
> 
> 1 (minor).  The last dialog box of the Installer recommended adding "\bin" to my
> PATH.  This should have been "C:\Program Files\Glasgow Haskell
> Compiler\ghc-5.02\bin".  (I had to use "Search..." to find it!)

Yes, we noticed that too...just after the release. Fixed now (I'll
announce a new InstallShield shortly).

> $ ghc -i "$GHCDIR\\imports\\lang" -o modTest ModTest.hs  # trying -i
> c:\Program Files\Glasgow Haskell Compiler\ghc-5.02\bin\ghc.exe: file `C:\Program
> Files\Glasgow Haskell Compiler\ghc-5.02\imports\lang' does not exist

Just to clear up a misunderstanding here: what you've actually done is
added nothing to the import path "-i" then tried to compile a file
called $GHCDIR\\imports\\lang. It might've worked if you'd omitted the
space (as in the manual), but the main thing, as already observed, is
that you're supposed to say -package lang.

I presume that when you said (above) that these modules seemed to live
in ...\ghc-5.02\bin, that was just a typo.

-- 
http://sc3d.org/rrt/ | Travail broadens the behind




More information about the Glasgow-haskell-bugs mailing list