[Haskell-beginners] fail: wxhaskell with cabal

Chaddaï Fouché chaddai.fouche at gmail.com
Fri Nov 27 01:34:03 EST 2009

On Fri, Nov 27, 2009 at 5:06 AM, Josh Bronson <josh.bronson at gmail.com> wrote:
> Now I am trying to get wxhaskell to install:
> $ cabal install wx
> [snip]
> 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
> /usr/lib/libwx_baseu_net-2.8.so.0
> It looks like the libraries are there to me! any ideas?

The shared libraries are there, but did you check if the miscellaneous
headers were there ? In other word did you install the libwx*-dev
packages as invited to do by cabal in its error message ?


More information about the Beginners mailing list