Re: I cannot compile ghc-7.6.2

2013-02-12 Thread Magicloud Magiclouds
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  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.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: I cannot compile ghc-7.6.2

2013-02-11 Thread Ian Lynagh
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


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users