我尝试使用 cabal 获取 wxHaskell 包:
cabal install wxcore --global
cabal install wx
但是运行它会出现以下错误:
>cabal install wxcore --global
Resolving dependencies...
cabal: Error: some packages failed to install:
wxcore-0.11.1.2 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)
我做错什么了?我需要先安装软件包吗?