I installed libghc6-hunit-dev and tried to use hunit. However ghc tells
me it can not find it when I do 'import HUnit' like the docs says.
Package
{name = "HUnit",
auto = False,
import_dirs = ["/usr/lib/haskell-packages/ghc6/lib/HUnit-1.0"],
source_dirs = [],
library_dirs = ["/usr/lib/haskell-packages/ghc6/lib/HUnit-1.0"],
hs_libraries = ["HSHUnit-1.0"],
extra_libraries = [],
include_dirs = [],
c_includes = [],
package_deps = ["haskell-src"],
extra_ghc_opts = [],
extra_cc_opts = [],
extra_ld_opts = [],
framework_dirs = [],
extra_frameworks = []}
Failed to load interface for `HUnit':
Could not find interface file for `HUnit'
locations searched:
HUnit.hi
HUnit.hi-boot-6
HUnit.hi-boot
/usr/lib/ghc-6.2.2/imports/HUnit.hi
What am I missing? I can clearly see HUnit.hi in the packages directory
mentioned above.