[Haskell-beginners] How to deal with recursive/missing dependencies?

Ming Gao mgao at gmx.de
Thu Aug 23 22:02:43 CEST 2012


Hello,
I ran into some dependency issues with cabal/ghc and could not find any 
solution on the internet.
ghc-pkg check returns nothing, I suppose this is a good thing.

But ghc -v returns:

-----------------
Glasgow Haskell Compiler, Version 7.4.1, stage 2 booted by GHC version 7.4.1
Using binary package database: /usr/lib/ghc/package.conf.d/package.cache
Using binary package database: 
/home/ming/.ghc/x86_64-linux-7.4.1/package.conf.d/package.cache
package blaze-svg-0.3.3.0-50a04482f1f501336d4772805c49480c is unusable 
due to missing or recursive dependencies:
   mtl-2.1.1-801101765c9185fec3b8dbd5355f5550
package cairo-0.12.3.1-b5380fec59ee27dbcea4803a68e97987 is unusable due 
to missing or recursive dependencies:
   mtl-2.1.1-801101765c9185fec3b8dbd5355f5550
package gio-0.12.3-d4fa99730a97194e714a9725fe2ce6eb is unusable due to 
missing or recursive dependencies:
   mtl-2.1.1-801101765c9185fec3b8dbd5355f5550
package gtk-0.12.3.1-b4f922f5295267731eb0ea058e8ec63b is unusable due to 
missing or recursive dependencies:
   cairo-0.12.3.1-b5380fec59ee27dbcea4803a68e97987 
gio-0.12.3-d4fa99730a97194e714a9725fe2ce6eb 
mtl-2.1.1-801101765c9185fec3b8dbd5355f5550 
pango-0.12.3-86ce88701ca575a64c78e01efb6107e7
package httpd-shed-0.4-4efc4f08c1e731625a137a46b01eaa91 is unusable due 
to missing or recursive dependencies:
   network-2.3.1.0-acf1a3e75cbe81f030e6d7af508f064a
package network-2.3.1.0-acf1a3e75cbe81f030e6d7af508f064a is unusable due 
to missing or recursive dependencies:
   parsec-3.1.3-0cb02763c2a282c8ea5c85882f9bf27d
package pango-0.12.3-86ce88701ca575a64c78e01efb6107e7 is unusable due to 
missing or recursive dependencies:
   cairo-0.12.3.1-b5380fec59ee27dbcea4803a68e97987 
mtl-2.1.1-801101765c9185fec3b8dbd5355f5550
package parsec-3.1.3-0cb02763c2a282c8ea5c85882f9bf27d is unusable due to 
missing or recursive dependencies:
   mtl-2.1.1-801101765c9185fec3b8dbd5355f5550
package soegtk-0.12.1-da31ebdf63cd5bad394b6fa20d55647e is unusable due 
to missing or recursive dependencies:
   cairo-0.12.3.1-b5380fec59ee27dbcea4803a68e97987 
gtk-0.12.3.1-b4f922f5295267731eb0ea058e8ec63b
wired-in package ghc-prim mapped to 
ghc-prim-0.2.0.0-c2ff696e5b8ec4d4b2bc2e42085fe471
wired-in package integer-gmp mapped to 
integer-gmp-0.4.0.0-3cccac07aef8e27023f605c1f45bdf74
wired-in package base mapped to 
base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to 
template-haskell-2.7.0.0-8c8cd20e21666657195efabced685fe1
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags: -static
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
ghc: no input files
Usage: For basic information, try the `--help' option.

--------------------------

This looks really scary to me. I already reinstalled GHC completely but 
it didn't change anything.
Is there anything I can do?

Thank you in advance.



More information about the Beginners mailing list