Ccc bookmark

Env:

  • OS: feodra 16
  • Haskell platforms
  • wxGTK -develop
  • ghc 7.0.4

I am trying to install wxHaskell using

Bonded installation wx

Then these errors are given.

Lack of dependencies on foreign libraries: * Missing C libraries: wx_baseu-2.8, wx_baseu_net-2.8, wx_baseu_xml-2.8, wx_gtk2u_adv-2.8, wx_gtk2u_tx-2.8, wx_gtk2u_xx 2.8, wx_gtk2u_x_u_g_g_k_gtk , wx_gtk2u_media-2.8, wx_gtk2u_stc-2.8, wx_gtk2u_gl-2.8

And these libraries really exist in / usr / lib I enter the following in the terminal

ls libwx * .so

and found libs:

  • libwx_baseu-2.8.so
  • libwx_gtk2u_aui-2.8.so
  • libwx_gtk2u_gl-2.8.so
  • ......

I tried setting cabal wx -exteral-lib-dirs = / usr / lib but still no luck.

+4
source share
4 answers

I found out the problem (and it took me only part of a month :)) - you need to install g++ on your computer. You can install it with sudo yum install gcc-c++ .

+2
source

I'm not a wx expert, but you probably also need the C headers for these libraries. Look at your development distribution for these libraries; in many distributions, these packages are called the same as the library package itself, but with the addition of "-dev" at the end of the name.

+4
source
 sudo apt-get install libwxgtk-media3.0-dev 

works for me

+2
source

I have no solution, but yesterday I ran into the same problem as on the new Debian Wheezy installation, which makes me think that this might be a packaging problem with wx in cabal.

+1
source

Source: https://habr.com/ru/post/1402060/


All Articles