From: Jeremy O'D. <jer...@gm...> - 2012-01-09 09:52:14
|
Hi Peter, On 8 January 2012 11:39, Henning Thielemann <le...@he...>wrote: > > On Sat, 7 Jan 2012, Peter Simons wrote: > > > Hi guys, > > > > > I am please to announce that wxHaskell 0.13.2 has just been uploaded > > > to Hackage. > > > > when I try to build the latest version on Linux/x86_64 running NixOS, I > > get the following error at configure time: > > > > Setup: Missing dependency on a foreign library: > > * Missing C library: wx_gtk2u_media-2.8 > > > > I searched my hard disk for that library, and apparently my installed > > copy of wxGTK-2.8.12 doesn't have it. There are plenty of libwx_gtk2u_* > > libraries, but none of them is called "media". > > Is it the only missing header? Once when I tried to install wxhaskell I > got a lot of missing header errors although all dev packages were > installed. They went away when I installed 'g++'. It was a plain Haskell > development machine before :- > I'm not so familiar with NixOS - I did my testing on an Ubuntu 10.4 VMWare image. However, I have built wxWidgets more often than I care to think about. To solve the particular issue you have, you need '--enable-mediactrl' in your configure script for wxWidgets. I think you probably want something like the following if you want all of the wxHaskell features: ./configure --enable-unicode --enable-html --enable-xrc --enable-aui --enable-stc --enable-mediactrl --enable-richtext --with-gtk=2 --with-opengl Hope this helps. Best regards Jeremy |