Search code examples
haskellcabalwxhaskell

Cabal won't get a new haskell package


I tried to get the wxHaskell package using cabal using:

cabal install wxcore --global
cabal install wx

But running this gave the following error:

>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)

What did I do wrong? Is there packages I need to install first?


Solution

  • Getting wx to install through cabal is tricky. If you're using Windows I suggest downloading their binary package from http://haskell.org/haskellwiki/WxHaskell/Download