在 mac ( sudo cabal install pango
) 上安装 Haskell pango 时,第一个问题是它试图安装我已经安装的包。我已经安装了haskell98(成功),但是pango试图再次安装它,当编译完成时它给出了这个错误:
Registering haskell98-1.0.1.1...
Installing library in /Users/username/.cabal/lib/haskell98-1.0.1.1/ghc-6.12.3
Registering haskell98-1.0.1.1...
<command line>: cannot satisfy -package Cabal-1.8.0.6:
Cabal-1.8.0.6-ec9be469687b5a514f4b7e8e2b8343c7 is unusable due to missing or recursive dependencies:
process-1.0.1.3-1209536e5ce8f43dc64e390034356d63
(use -v for more information)
<command line>: cannot satisfy -package Cabal-1.8.0.6:
Cabal-1.8.0.6-ec9be469687b5a514f4b7e8e2b8343c7 is unusable due to missing or recursive dependencies:
process-1.0.1.3-1209536e5ce8f43dc64e390034356d63
(use -v for more information)
所以我使用sudo cabal install pango -v
了,这是打破haskell98重新安装的命令:
/usr/bin/ghc --make /tmp/glib-0.11.249666/glib-0.11.2/Setup.hs -o /tmp/glib-0.11.249666/glib-0.11.2/dist/setup/setup -odir /tmp/glib-0.11.249666/glib-0.11.2/dist/setup -hidir /tmp/glib-0.11.249666/glib-0.11.2/dist/setup -i -i/tmp/glib-0.11.249666/glib-0.11.2 -package Cabal-1.8.0.6
特别是-package Cabal-1.8.0.6
部分。这个安装有什么问题?