How to build ghci?

Duncan Coutts duncan@coutts.uklinux.net
Sun, 23 Feb 2003 13:40:55 +0000


Hi all,

I can't seem to get ghc to build so that ghci is enabled.

I've tried building the tar and I've tried the Red Hat .src.rpm, which
works but doesn't enable ghci on my system.

I'm using Mandrake 9.0 which comes with gcc 3.2 and gcc 2.96
I'm building ghc to use gcc 2.96 (since it chokes on Mandrake's gcc 3.2).

ghci reports:
ghc-5.04.2: not built for interactive use

Is there anything special I have to do to enable ghci? Is there
something odd / missing from Mandrke's build environment?

Duncan