
* Malcolm Wallace
when building nhc98 with ghc-5.04 I got the following error:
Fail: Can't find module PrelBase in . Or in standard libraries at /usr/local/lib/ghc-5.04/imports/base ... Asked for by: Decl.lhs [Check settings of -I or -P flags?]
Anyway, this seems to be a ghc bug, since ghc is looking for PrelBase even though it is not needed for ghc-5.04
The error message is generated by hmake, not by GHC, so the fault is probably in the automatic configuration of the ghc settings in hmake. I would guess that perhaps hmake has not detected ghc's version number correctly?
Look in lib/ix86-FreeBSD/hmakerc, particularly for the definition
cppSymbols = ["__GLASGOW_HASKELL__=504"]
and edit it if necessary. (Of course, we'd really like to know why it wasn't detected in the first place.)
lib/ix86-FreeBSD/hmakerc looks ok. Find it attached. Regards, Olli -- IST & IIS _ INF _ UniBwM _____ http://ist.unibw-muenchen.de/People/obraun/ Tele-Consulting GmbH _________ http://www.tele-consulting.com/ ___ obraun@ FreeBSD: The Power To Serve __ http://www.freebsd.org/ ___________________