[Haskell-cafe] some problem with Cabal

2011-03-08 Thread Qi Qi
Hi, When I tried the haskell platform 2011.2 source, from here http://code.galois.com/darcs/haskell-platform/download-website/linux.html . Configuration passed successfully. But when making, it gives the following error: scripts/build.sh **

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread Daniel Fischer
On Wednesday 09 March 2011 12:16:30, Qi Qi wrote: I think this is the same problem as I got during installing some other packages via cabal such as hmatrix, ghc-mod, happy and etc. Does anyone have any idea about how to solve it? I think it may be a problem with your GHC. I have no problems

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread qiqi
Thank you, Daniel. 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. Then I successfully installed back hmatrix, ghc-mod, happy and etc. It seems that

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread Daniel Fischer
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

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread Don Stewart
This is fixed in the new release of cabal-install ( I think) so we're rolling new installers. Discussion around the installers is taking place on the haskell-platform list. -- Don On Wed, Mar 9, 2011 at 3:16 AM, Qi Qi qiqi...@gmail.com wrote: Hi, When I tried the haskell platform 2011.2

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread qiqi
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:

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread Daniel Fischer
On Wednesday 09 March 2011 02:51:35, qiqi wrote: I used cabal install xmobar --flags=all_extensions . Whoa: In order, the following would be installed: containers-0.3.0.0 (new version) filepath-1.1.0.4 (new version) directory-1.1.0.0 (reinstall) changes: filepath-1.2.0.0 - 1.1.0.4

Re: [Haskell-cafe] some problem with Cabal

2011-03-08 Thread qiqi
Daniel Fischer wrote: On Wednesday 09 March 2011 02:51:35, qiqi wrote: I used cabal install xmobar --flags=all_extensions . Whoa: In order, the following would be installed: containers-0.3.0.0 (new version) filepath-1.1.0.4 (new version) directory-1.1.0.0 (reinstall) changes: