I used cabal install xmobar --flags="all_extensions" . Is it true that every package installed from hackage should not install any package, which already exists in the global with the same version number , in the local db?
Daniel Fischer wrote: > > On Wednesday 09 March 2011 00:34:39, qiqi wrote: >> The problem is solved! I found out that both global and local package db >> get directory-1.1.0.0 and process-1.0.1.5. I unregistered them and >> other caused broken packages in the local package db. > > D'oh, I should've seen that. > >> Then I >> successfully installed back hmatrix, ghc-mod, happy and etc. It seems >> that xmobar will install directory-1.1.0.0 again in the local package >> db. > > That's not good. And it doesn't seem to do that here: > > $ cabal install xmobar --dry-run > Resolving dependencies... > In order, the following would be installed (use -v for more details): > stm-2.2.0.1 > syb-0.3 > X11-1.5.0.0 > utf8-string-0.3.6 > xmobar-0.12 > > What does > > $ cabal install xmobar --dry-run -v3 say for you about directory? > >> >> Did you succeed in installing haddock 2.9? > > That was built with the compiler (I built from source), no problems. > > $ haddock --version > Haddock version 2.9.2, (c) Simon Marlow 2006 > Ported to use the GHC API by David Waern 2006-2008 > >> Mine got some syntax oriented >> error duing cabal install haddock. But it's fine. > > The same as > http://haskell.org/pipermail/haskell-cafe/2011-March/089902.html ? > I don't know if that's been solved. > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > -- View this message in context: http://haskell.1045720.n5.nabble.com/some-problem-with-Cabal-tp3414662p3414931.html Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe