[Haskell-cafe] some problem with Cabal

Qi Qi qiqi789 at gmail.com
Wed Mar 9 12:16:30 CET 2011


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
**************************************************
Scanning system for any installed Haskell Platform components...

Found:None.

New packages to install: None! All done.

**************************************************
Building 
"/usr/local/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal-1.10.1.0"
<command line>: cannot satisfy -package Cabal-1.10.1.0: 
    Cabal-1.10.1.0-64e8f05722ea5bbdf07df2e5a3491105 is unusable due to missing or recursive dependencies:
      directory-1.1.0.0-85d1d0f9d96dffdacf64f3cc6fba6f2f process-1.0.1.5-4cab1bf0666275ac101dd48c7565b64c
    (use -v for more information)

Error:
Compiling the Setup script failed
make: *** [build.stamp] Error 2


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?

Thanks!



-- 
Qi Qi



More information about the Haskell-Cafe mailing list