Fw: Re: [nhc-bugs] a problem with 1.12

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Wed, 20 Mar 2002 18:37:05 +0000


[Forwarded message - original mistakenly sent only to Feliks]

> 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

Nasty.

> Unfortunately, the problem reappeared during an attempt to use the
> compiler:   

I would guess that the installation of the hmakerc file changed the
includePaths definition back to [""] for the installed location of
the compiler.  For now, the easiest solution might be to find the
installed copy of the hmakerc file
    /usr/local/lib/hmake/sparc-solaris2/hmakerc
(or with your own prefix instead of /usr/local) and add the correct
location of the installed include files, e.g.
    includePaths = ["/usr/local/include/nhc98"]
There are probably at least two entries for nhc98; don't forget to
change both of them.

Regards,
    Malcolm