cabal dependency resolution fail for 'lens'
问题 I just did a cabal update and tried to install 'lens' from hackage. That gave me the following error - $ cabal install -j lens Resolving dependencies... Configuring dlist-0.7.0.1... ... <snip> Configuring mtl-2.0.1.0... Building mtl-2.0.1.0... Failed to install mtl-2.0.1.0 Last 10 lines of the build log ( /home/aj/.cabal/logs/mtl-2.0.1.0.log ): Building mtl-2.0.1.0... Preprocessing library mtl-2.0.1.0... [ 1 of 21] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist