I cannot compile ghc-7.6.2

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Tue Feb 12 17:30:22 CET 2013


Thank you.
I thought the "no such file" lines were the problem. In fact my global
container was hidden some how.


On Tue, Feb 12, 2013 at 5:29 AM, Ian Lynagh <ian at well-typed.com> wrote:

> 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
>
>


-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20130213/24606bed/attachment.htm>


More information about the Glasgow-haskell-users mailing list