
IOExts seems to be unavailable on my system, whereas I'm guessing it should be since the file /usr/lib/ghc-6.4.1/hslibs-imports/lang/IOExts.hi exists...(wrong guess?) Within ghci I get Prelude> :m IOExts Could not find module `IOExts': it is not a module in the current program, or in any known package. Prelude> I am trying to build the latest version of haskore with ghc 6.4.1 and have edited the Makefile to put in references to the location of IOExts.hi: HC_OPTS = -cpp -i/usr/lib/ghc-6.4.1/hslibs-imports/lang/IOExts.hi IOExtensions.o : /usr/lib/ghc-6.4.1/hslibs-imports/lang/IOExts.hi Now make gives the error: jim@unicorn:~/haskore/Src$ make ghc -c IOExtensions.hs -cpp -i/usr/lib/ghc-6.4.1/hslibs-imports/lang/IOExts.hi IOExtensions.hs:20:0: Failed to load interface for `IOExts': Could not find module `IOExts': use -v to see a list of the files searched for make: *** [IOExtensions.o] Error 1 Is IOExts installed as standard with GHC or do I have to tell it the path to the hi file somehow? -- View this message in context: http://www.nabble.com/IOExts-problem-tf2919193.html#a8158283 Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.

jim burton wrote:
IOExts seems to be unavailable on my system, whereas I'm guessing it should be since the file /usr/lib/ghc-6.4.1/hslibs-imports/lang/IOExts.hi exists...(wrong guess?) Within ghci I get
Prelude> :m IOExts Could not find module `IOExts': it is not a module in the current program, or in any known package. Prelude>
IOExts is (was) in the 'lang' package, which is hidden by default, so you need to say '-package lang' to get it. Bear in mind that lang has been deprecated for a long time, and is gone completely in GHC 6.6, though. Cheers, Simon
participants (2)
-
jim burton
-
Simon Marlow