Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
On 13 January 2012 17:33, Peter Simons wrote: > 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 Could this be as simple as using FlexibleInstances? Perhaps someone else has a better grasp of the implications of FlexibleInstances? > > 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 > wxhaskell-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users -- 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 wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
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 wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
Hi Peter, On 8 January 2012 11:39, Henning Thielemann 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 -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
On 5 January 2012 17:44, Jeremy O'Donoghue wrote: > > > The source repository at code.haskell.org has not yet been updated with > the patches. This will happen in the next day or so. > > The source repository at code.haskell.org has now been updated with wxHaskell 0.13.2 plus the two patches (add IOExtra to wxdirect and remove old-time from wxcore) from Shelarcy. I suggest a period of one more week (i.e. until 15th Jan 2012) for any further issues or fixes on the 0.13.2 series. After that, Dave, Eric and others will start to upload the changes needed to support wxWidgets 2.9.x. These changes will not work against wxWidgets 2.8.x installations, and are pretty significant in places. Please expect the main repo to unstable for a while after next Sunday. Best regards Jeremy -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
Hi Shelarcy, It's great to see you back... 2012/1/6 shelarcy > This version has two installing problem. > > 1. wxdirect's sdist dropped IOExtra module, so I can't install this > version. > I uploaded newer version for fixing this problem, and attached a patch > for fixing same problem in Dave's wxhaskell-dev branch. I have just applied this to my local repo, and it will be uploaded tonight. Thanks. > > 2. It seems that wxcore depends on Eric's wx-config implicitly at least > Windows environment. "cabal install" fail with wx-config-win binary, > and "cabal install" success with Eric's one. If wxcore depends on > wx-config package in only Windows environment, I think we should upload > Eric's wx-config package, and modify wxcore to denped on wx-config package > on Windows environment for workaround. > > if os(windows) > Build-Depends: wx-config This is surprising. I am using wx-config-win on my Windows environment (when I run wx-config -v, I get "wx-config revision 26 2006-12-21"). I deliberately did not choose to use Eric's version as he had noted some issues with it. We should investigate your problem further (I am also using wPack 2.8.12) Best regards Jeremy -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
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 :-) -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
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". Does anyone know how wxGtk must be built in order to make sure that library exists? Is there some special configure flag, maybe? Take care, Peter -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] ANN: wxHaskell 0.13.2
Hello, This version has two installing problem. 1. wxdirect's sdist dropped IOExtra module, so I can't install this version. I uploaded newer version for fixing this problem, and attached a patch for fixing same problem in Dave's wxhaskell-dev branch. 2. It seems that wxcore depends on Eric's wx-config implicitly at least Windows environment. "cabal install" fail with wx-config-win binary, and "cabal install" success with Eric's one. If wxcore depends on wx-config package in only Windows environment, I think we should upload Eric's wx-config package, and modify wxcore to denped on wx-config package on Windows environment for workaround. if os(windows) Build-Depends: wx-config wx-config package isn't uploaded yet. So, I don't upload newer version, nor attach patch for fixing this problem. Best Regards, On Fri, 06 Jan 2012 02:44:24 +0900, Jeremy O'Donoghue wrote: Hi Lists, I am please to announce that wxHaskell 0.13.2 has just been uploaded to Hackage. This is mainly a bugfix release, although it brings a few useful changes: - Changes to support build under Haskell Platform 2011.4.0.0 - OpenGL support if your wxWidgets build is configured with it (reinstated functionality) - StyledTextControl support if your wxWidgets build is configured with it (reinstated functionality) This is intended to be the final wxHaskell release supporting wxWidgets 2.8.x. Provided that you have a suitable Unicode wxWidgets 2.8 install configured on your machine, you should be able to install with. cabal install wx In the near future, we will be committing an updated wxHaskell release supporting wxWidgets 2.9, but this implies a number of breaking API changes, and the size of team supporting wxHaskell is not large enough to cover both. As such, this release is recommended to those who will not be able to move to wxWidgets 2.9 and later. The next release has more significant improvements planned, including wrapping several additional wxWIdgets libraries and restoring correct operation in GHCi. We do not have a formal timeline as yet, but the code is working in test repositories, and mainly needs work to make it cross-platform clean. This release has been tested on the following platforms: - Windows 7 / Haskell Platform 2011.4.0.0 / wxPack 2.8.12 (Unicode, Release) - OpenGL is not enabled on the test platform, so OpenGL samples do not work. - StyledTextControl is not enabled on the test platform, so STC samples do not work. - All other sample code compiles, links and runs, but has only been tested for Unicode wxWidgets builds. - Ubuntu 10.0.4 LTS (32 bit) / GHC 6.12 / wxWidgets 2.8.10 - Repo packages: wx2.8-headers, libwxgtk2.8-0, libwxgtk2.8-dev, libglitz1, libglitz-gl1, libgl1-mesa-dri, libglu1-mesa, libglu1-mesa-dev, mesa-common-dev, libgl1-mesa-dev, libgl1-mesa-glx, ghc6 - Cabal packages: strict, stm, OpenGL, cabal-install - OpenGL is enabled on the test platform, and the samples compile and run. - StyledTextControl is not enabled on the test platform, so STC samples do not work. - All other sample code compiles, links and runs, but has only been tested for Unicode wxWidgets. I do not have access to an OS X platform for test, so would appreciate feedback on any issues found by OS X users. There are known to be issues on 64 bit OS X builds, which will be addressed in the next release. The source repository at code.haskell.org has not yet been updated with the patches. This will happen in the next day or so. -- shelarcy http://page.freett.com/shelarcy/ missing.dpatch Description: Binary data -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users