无法在Mac OSX上安装scion-browser

时间:2012-12-12 17:06:26

标签: haskell cabal eclipse-fp

cabal install scion-browser给出:

[ 6 of 23] Compiling Scion.PersistentBrowser.Query ( src/Scion/PersistentBrowser/Query.hs, dist/build/scion-browser/scion-browser-tmp/Scion/PersistentBrowser/Query.o )

src/Scion/PersistentBrowser/Query.hs:258:58:
    No instance for (MonadResource IO)
      arising from a use of `get'
    Possible fix: add an instance declaration for (MonadResource IO)
    In a stmt of a 'do' block: Just dc <- get declId
    In the expression:
      do { Just dc <- get declId;
           getDbModule dc }
    In an equation for `getDbModule':
        getDbModule (DbConstructor _ _ declId)
          = do { Just dc <- get declId;
                 getDbModule dc }

以及其他一些信息:

$ ghc-pkg list mtl
/usr/local/Cellar/ghc/7.4.2/lib/ghc-7.4.2/package.conf.d
   mtl-2.1.2
/Users/eric/.ghc/x86_64-darwin-7.4.2/package.conf.d
$ ghc-pkg list transformers
/usr/local/Cellar/ghc/7.4.2/lib/ghc-7.4.2/package.conf.d
   transformers-0.3.0.0
/Users/eric/.ghc/x86_64-darwin-7.4.2/package.conf.d
$ ghc-pkg list haskeline
/usr/local/Cellar/ghc/7.4.2/lib/ghc-7.4.2/package.conf.d
/Users/eric/.ghc/x86_64-darwin-7.4.2/package.conf.d
   haskeline-0.7.0.3

1 个答案:

答案 0 :(得分:1)

这是一个已知问题,请参阅https://github.com/JPMoresmau/scion-class-browser/issues/4。将在下一个版本中修复(也许我会在本周发布的2012年12月15日左右)