[Haskell-beginners] fail: wxhaskell with cabal

Josh Bronson josh.bronson at gmail.com
Thu Nov 26 23:06:21 EST 2009

Greetings Haskellers,

Happy Thanksgiving! I'm using Ubuntu 9.10. I've performed the following steps:

# apt-get install ghc6

I then successfully did a local install of the Haskell platform in

Now I am trying to get wxhaskell to install:

$ cabal install wx
Configuring wxcore-
setup: Missing dependencies on foreign libraries:
* Missing C libraries: wx_baseu-2.8, wx_baseu_net-2.8, wx_baseu_xml-2.8
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
cabal: Error: some packages failed to install:
wx- depends on wxcore- which failed to install.
wxcore- failed during the configure step. The exception was:
exit: ExitFailure 1

$ ls /usr/lib/libwx*
/usr/lib/libwx_baseu-2.8.so	   /usr/lib/libwx_baseu_net-2.8.so.0.6.0
/usr/lib/libwx_baseu-2.8.so.0	   /usr/lib/libwx_baseu_xml-2.8.so
/usr/lib/libwx_baseu-2.8.so.0.6.0  /usr/lib/libwx_baseu_xml-2.8.so.0
/usr/lib/libwx_baseu_net-2.8.so    /usr/lib/libwx_baseu_xml-2.8.so.0.6.0

It looks like the libraries are there to me! any ideas?

More information about the Beginners mailing list