[Haskell-beginners] fail: wxhaskell with cabal

Josh Bronson josh.bronson at gmail.com
Fri Nov 27 11:41:14 EST 2009

Yes, I've installed libwxbase2.8-dev:

$ dpkg -l 'libwxbase2.8*'
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
ii  libwxbase2.8-0 wxBase library (runtime) - non-GUI support c
ii  libwxbase2.8-d wxBase library (development) - non-GUI suppo
$ dpkg -L libwxbase2.8-dev

On Fri, Nov 27, 2009 at 12:34 AM, Chaddaï Fouché
<chaddai.fouche at gmail.com> wrote:
> 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 ?
> --
> Jedaï

More information about the Beginners mailing list