
Hi, when building nhc98 with ghc-5.04 I got the following error: /usr/ports/lang/nhc98/work/nhc98-1.14/script/hmake -ghc +CTS -package lang -CTS -d /usr/ports/lang/nhc98/work/nhc98-1.14/targets/ix86-FreeBSD/obj/greencard GreenCard Fail: Can't find module PrelBase in . Or in standard libraries at /usr/local/lib/ghc-5.04/imports/base /usr/local/lib/ghc-5.04/imports/haskell98 /usr/local/lib/ghc-5.04/imports/network /usr/local/lib/ghc-5.04/imports/haskell-src /usr/local/lib/ghc-5.04/imports/lang /usr/local/lib/ghc-5.04/imports/concurrent /usr/local/lib/ghc-5.04/imports/posix /usr/local/lib/ghc-5.04/imports/util /usr/local/lib/ghc-5.04/imports/data /usr/local/lib/ghc-5.04/imports/text /usr/local/lib/ghc-5.04/imports/net /usr/local/lib/ghc-5.04/imports/hssource Asked for by: Decl.lhs [Check settings of -I or -P flags?] This error comes from the lines: #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 202 import PrelBase(maybe) -- workaround for GHC 2.02 #endif in src/greencard/Decl.lhs src/greencard/FillIn.lhs and src/greencard/Process.lhs Deleting these lines fixes the problems. Anyway, this seems to be a ghc bug, since ghc is looking for PrelBase even though it is not needed for ghc-5.04. 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/ ___________________