
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

Hello,
ghci reports: ghc-5.04.2: not built for interactive use
If you want to have ghci you have to compile the source code with the same version of ghc that you are trying to generate, in your case ghc-5.04.2... Cheers, Andre.
Is there anything special I have to do to enable ghci? Is there something odd / missing from Mandrke's build environment?
Duncan _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-- --------------------------------- André Rauber Du Bois dubois at macs.hw.ac.uk http://www.macs.hw.ac.uk/~dubois/

On Mon, 24 Feb 2003 09:25:02 +0000 (GMT)
Andre Rauber Du Bois
ghci reports: ghc-5.04.2: not built for interactive use
If you want to have ghci you have to compile the source code with the same version of ghc that you are trying to generate, in your case ghc-5.04.2...
Thank's very much Andre. Now that I look for it, I did find this in the FAQ. (I looked at the building guide but missed the FAQ!) I'm still confused however. I though that with the whole two (three?) stage bootstraping process you get a version of ghc built with itself anyway, no? Maybe the ghc gurus could enlighten us. :-) If it requires an extra time consuming step, could it be a ./configure option? --enable-ghci Duncan
participants (2)
-
Andre Rauber Du Bois
-
Duncan Coutts