我试图在我的mac(Osx Mavericks)上安装wxHaskell。我用gcc解决了这个问题,我使用brew来安装wxmac(3.0版)。不断出现的问题是hackage cabal搜索wx 2.9的外观,而我有3.0。它说它找不到:
Warning: No config found to match: /usr/local/bin/wx-config --version=2.9 --version-full
in /usr/local/Cellar/wxmac/3.0.0.0/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
我找不到任何方法通过brew安装不同版本的wx。有人有修复吗? 谢谢!