I cannot compile ghc-7.6.2
Ian Lynagh
ian at well-typed.com
Mon Feb 11 22:29:00 CET 2013
On Sun, Feb 10, 2013 at 06:35:25PM +0800, Magicloud Magiclouds wrote:
>
> Linuxmint Nadia, ghc-7.6.1 was built and running OK.
> Just downloaded ghc-7.6.2, without changing anything and environment, and
> boot and configure returned OK, I got these. What happened?
>
> "/usr/local/bin/ghc" -H32m -O --make utils/ghc-cabal/Main.hs -o
> utils/ghc-cabal/dist/build/tmp/ghc-cabal \
> -no-user-package-db \
> -Wall \
> -DCABAL_VERSION=1,16,0 \
> -odir bootstrapping \
> -hidir bootstrapping \
> -ilibraries/Cabal/Cabal \
> -ilibraries/filepath \
> -ilibraries/hpc \
>
> "rm" -f compiler/stage1/build/Config.hs
> Creating compiler/stage1/build/Config.hs ...
> done.
>
> libraries/Cabal/Cabal/Distribution/ParseUtils.hs:88:18:
> Could not find module `Data.Map'
> It is a member of the hidden package `containers-0.5.0.0'.
> Use -v to see a list of the files searched for.
> make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1
> make: *** [all] Error 2
It looks like there is a problem with your bootstrapping compiler,
possibly caused by having more than one copy of containers installed.
"ghc-pkg check" or "ghc-pkg list" might help.
Thanks
Ian
More information about the Glasgow-haskell-users
mailing list