我看到有一个名为Cabal的很好的包系统可以处理依赖项解析.所以我正在尝试安装它,所以我可以让它为我安装 Haskell OpenGL模块.但是,Cabal本身有很多依赖.有没有办法在不手动解析所有依赖
在mtl模块安装到我之前,手动构建dep让我大约3个深度:
user@machine:~/haskell/mtl-1.1.0.2$runghc Setup build Preprocessing library mtl-1.1.0.2... Building mtl-1.1.0.2... Control/Monad/Cont.hs:74:7: Could not find module `Control.Monad': Perhaps you haven't installed the profiling libraries for package base? Use -v to see a list of the files searched for.你应该安装 Haskell Platform(“包括电池”)