我看到有一个名为Cabal的好用的包管理系统,可以处理依赖关系。因此,我正在尝试安装它,以便让它为我安装Haskell OpenGL模块。然而,Cabal本身有很多依赖项。有没有一种方法可以在不手动解决所有依赖项的情况下安装Cabal?我尝试运行引导程序,但似乎并没有成功,因为它报告了缺少模块parsec和network(这些模块又有它们自己的依赖项)。
手动构建依赖项让我深入了3层,然后mtl模块安装失败了:
手动构建依赖项让我深入了3层,然后mtl模块安装失败了:
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.