2012-12-12 80 views
1

cabal install scion-browser安裝接穗瀏覽器提供了:不能在Mac OSX

[ 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 
+0

GHC 7.4.2是否與OS X Haskell Platform一起安裝? –

+0

是的,我用自制軟件安裝了haskell平臺 – Heptic

回答