开发者

Xmonad build failed: cound not find module control.monad.reader

I'm trying to cabal install xmonad with profiling and I keep getting the error: cound not find module control.monad.reader

开发者_运维技巧

The error message suggested that I may not have installed the profiling libs for mtl-2.0.1.0, but I have confirmed that it is installed with ghc-pkg list | grep mtl. I then took a stab at running ghc-pkg expose on it, but no luck.

I tried googling and checking SO, but all I could find were problems related to having multiple instances of control.monad.reader installed and ghc being unable to determine which to use.

Right now, I'm just out of ideas about what do, any help would be appreciated.


Just because you have mtl installed does NOT mean you have the profiling libraries installed. You shouldn't need profiling - how are you installing XMonad? Did you change your cabal config file recently to enable profiling?

The way I see it you can either reinstall mtl with profiling:

cabal install --reinstall --enable-library-profiling mtl

Then install XMonad, or just disable profiling for the xmonad installation:

cabal install --disable-library-profiling xmonad

(I'm assuming that will override the setting from the config file)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜