Hi Jeremy, > To solve the particular issue you have, you need '--enable-mediactrl' > in your configure script for wxWidgets.
you were right, that did the trick. I also had to add 'gstreamer' as a build input. Without that package the build wxGTK failed to produce the media sublibrary -- but it failed silently and kept on building regardless. Duh! Anyway, NixOS now has the latest version of wxHaskell. Thank you for your efforts. I noticed, by the way, that wxHaskell doesn't compile with GHC 7.2.2: | Building wx-0.13.2... | Preprocessing library wx-0.13.2... | [ 1 of 16] Compiling Graphics.UI.WX.Types ( src/Graphics/UI/WX/Types.hs, dist/build/Graphics/UI/WX/Types.o ) | [ 2 of 16] Compiling Graphics.UI.WX.Attributes ( src/Graphics/UI/WX/Attributes.hs, dist/build/Graphics/UI/WX/Attributes.o ) | [ 3 of 16] Compiling Graphics.UI.WX.Layout ( src/Graphics/UI/WX/Layout.hs, dist/build/Graphics/UI/WX/Layout.o ) | [ 4 of 16] Compiling Graphics.UI.WX.Classes ( src/Graphics/UI/WX/Classes.hs, dist/build/Graphics/UI/WX/Classes.o ) | [ 5 of 16] Compiling Graphics.UI.WX.Media ( src/Graphics/UI/WX/Media.hs, dist/build/Graphics/UI/WX/Media.o ) | | src/Graphics/UI/WX/Media.hs:48:10: | Illegal instance declaration for `Sized (Bitmap a)' | (All instance types must be of the form (T a1 ... an) | where a1 ... an are *distinct type variables*, | and each type variable appears at most once in the instance head. | Use -XFlexibleInstances if you want to disable this.) | In the instance declaration for `Sized (Bitmap a)' | | src/Graphics/UI/WX/Media.hs:69:10: | Illegal instance declaration for `Sized (Image a)' | (All instance types must be of the form (T a1 ... an) | where a1 ... an are *distinct type variables*, | and each type variable appears at most once in the instance head. | Use -XFlexibleInstances if you want to disable this.) | In the instance declaration for `Sized (Image a)' | | src/Graphics/UI/WX/Media.hs:93:10: | Illegal instance declaration for `Media (Sound a)' | (All instance types must be of the form (T a1 ... an) | where a1 ... an are *distinct type variables*, | and each type variable appears at most once in the instance head. | Use -XFlexibleInstances if you want to disable this.) | In the instance declaration for `Media (Sound a)' | builder for `/nix/store/r486ymv1ci2zdlfh282a7x4fk4cnffb7-haskell-wx-ghc7.2.2-0.13.2.drv' failed with exit code 1 Take care, Peter ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ wxhaskell-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
