Haskell Cabal: Mysterious Missing or Recursive Dependencies

I am trying to install a package jmacro. It works great and there are no problems.

However, when I want to use it or install packages of a type happstack-jmacrothat depend on jmacro, I get error messages like this:

<command line>: cannot satisfy -package-id jmacro-0.5.2-71bd40707d94b0e8eb6e70515ff6a5f4: 
    jmacro-0.5.2-71bd40707d94b0e8eb6e70515ff6a5f4 is unusable due to missing or recursive dependencies:
      haskell-src-meta-0.5-4bf46b12fb313927e18a04de209944de template-haskell-2.5.0.0-f0b857ddb066aae09d974e610edd228f
    (use -v for more information)

There are no absolute recursive or missing dependencies. This is mistake?

I use template-haskell-2.5.0.0(because new versions are not built) and haskell-src-meta-0.5. GHC - 7.0.4

+5
source share
2 answers

OK, I decided myself:

An error was detected in the cabal system directory as well as in my user directory template-haskell-2.5.0.0.

template-haskell , .

+2

, . ghc-pkg check ; , ghc-pkg unregister <pkg> . : ~/.cabal/config, ~/.ghc ~/.cabal cabal-install.

, , , cabal-dev.

+11

All Articles