[nhc-bugs] error while compiling cvs nhc

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Thu, 28 Jun 2001 12:14:02 +0100


> I tryed to compile nhc from cvs and it compiles part of it but stops at
> this: make: *** No rule to make target `src/prelude/Array/*.hc', needed by
> `targets/ix86-FreeBSD/prelude-gcc'.  Stop.
> PS: The system is FreeBSD-3.5 and the compiler is gcc-3.0.

You cannot build the CVS version of nhc98 using just a C compiler.
The reason is that the CVS repository does not hold files that are
automatically generated, such as the .hc boot-files.

If you want to build nhc98 from CVS, then you must install a working
Haskell compiler first.  Any of ghc, hbc, or nhc98 will suffice.
For instance, you could download a nhc98-1.06 source package from the
web page, build it with a C compiler, then use the 1.06 version to
build the CVS version.

Regards,
    Malcolm