[Haskell-cafe] ghc error when I use MissingH
Siddharth Karandikar
siddharth.karandikar at gmail.com
Sat May 21 12:38:02 CEST 2011
I am following an article by John Goerzen -
http://www.freesoftwaremagazine.com/articles/haskell#
Here, the very first example uses MissingH library. As I have ghci
7.0.3 and haskell-platform installed, I quickly installed this library
using cabal.
But ghc fails to find it. Here are the errors that I get -
siddharth at mars:~/myprogs/hs$ ghc --make -o mh1 mh1.hs -v
Glasgow Haskell Compiler, Version 7.0.3, for Haskell 98, stage 2
booted by GHC version 6.12.1
Using binary package database:
/home/siddharth/tools/ghc/ghc-7.0.3/lib/ghc-7.0.3/package.conf.d/package.cache
Using binary package database:
/home/siddharth/.ghc/i386-linux-7.0.3/package.conf.d/package.cache
wired-in package ghc-prim mapped to
ghc-prim-0.2.0.0-6bf7b03ebc9c668817e4379b6796c0c2
wired-in package integer-gmp mapped to
integer-gmp-0.2.0.3-91607778cf3ae8f3948a50062b4f8479
wired-in package base mapped to base-4.3.1.0-cf5fbbf5ccbd0475ad054efbb121340e
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to
template-haskell-2.5.0.0-f0c8f015e470d561d64a578434331367
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags: -static
*** Chasing dependencies:
Chasing modules from: *mh1.hs
mh1.hs:1:8:
Could not find module `MissingH.List':
locations searched:
MissingH/List.hs
MissingH/List.lhs
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
Thanks,
Siddharth
More information about the Haskell-Cafe
mailing list