Fw: Re: [nhc-bugs] a problem with 1.12
Malcolm Wallace
Malcolm.Wallace@cs.york.ac.uk
Tue, 26 Mar 2002 11:51:17 +0000
I have now found the cause of this installation bug:
> > It turned out that I had everything, except for
> > , includePaths = [""]
> >
> > Anyway, I fixed this manually, and the build seemed to proceed
> > smoothly. Installation complained a little:
> >
> > Adjusting... hmakerc
> > shUsage: grep [OPTION]... PATTERN [FILE]...
> > Try `grep --help' for more information.
> > : NHC98INCDIR: not found
> > shUsage: grep [OPTION]... PATTERN [FILE]...
> > Try `grep --help' for more information.
> > : NHC98INCDIR: not found
> > hat-trail.jar
> > hood.jar
It is due to a feature of certain unix-derived operating systems, where
in a system() call, the caret character (^) is interpreted as a pipe
operator (|). (This is a legacy from the original Unix shell I think.)
If you need to fix this bug in hmake-config, a patch is now available at
ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/patch-1.12-hmake-config
Regards,
Malcolm