[nhc-bugs] another build problem

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Fri, 6 Jul 2001 12:12:40 +0100


Hi Vaclav,

> I am pretty disapointed.

And I am sorry that I have not been able to find the cause of the
"Bus error" fault you found when building nhc98.

> I cannot build nhc98 because it wants
> hmake-PRAGMA and I cannot make hmake because it will not build from
> sources without nhc98.

But hmake-PRAGMA can be built from C-sources, without a Haskell
compiler.  I am a little puzzled that it was not built automatically
for you.  Did you follow this sequence of steps to build nhc98?

    tar zxf nhc98src-1.06.tar.gz
    cd nhc98-1.06
    ./configure --buildwith=gcc
    make

This should build, first, nhc98's runtime system, then the Prelude and
libraries, then hmake-PRAGMA, then the compiler, and finally greencard
and hmake, all from C sources.

> How is somebody supposed to build any Haskell
> compiler when you need working Haskell compiler to build it?!? How can I
> break the circle?

It is something we have tried very hard to provide, and building
from C sources certainly works for me on Linux and Solaris machines.
Perhaps there is a compatibility problem with FreeBSD that we have
not discovered until now.  What version of the GCC compiler do you
have installed for instance?

Regards,
    Malcolm