Re: [wxhaskell-users] problems buiding wxHaskell on Windows
But I note that the wiki page for wxHaskell says to have a cabal/wxc-xxx/ghcversion I don't have that either. I thus conclude, that you don't need it and it doesn't seem to be the source of your problem. cabal install wxc Resolving dependencies... command line: cannot satisfy -package Cabal-1.10.2.0: Which version of Cabal (note: the library, not the tool cabal-install) do you have installed? You can check that by running ghc-pkg list from the command line. Maybe it's a problem with your package database (you can check by running ghc-pkg check and if it is broken you can try ghc-pkg recache). -Ursprüngliche Nachricht- Von: Gregory Guthrie [mailto:guth...@mum.edu] Gesendet: Mittwoch, 13. Juni 2012 18:25 An: Fabian Binz; wxhaskell-users@lists.sourceforge.net Betreff: RE: [wxhaskell-users] problems buiding wxHaskell on Windows Yes, I did just this. Using your flags all of wxWidgets compile, and all samples run. But I note that the wiki page for wxHaskell says to have a cabal/wxc-xxx/ghcversion On the path, but I don't have any such directory in my cabal (although I did set the path...). There is a wxdirect-0.90.0.1 installed there, nothing else new of wx*. Trying to do the cabal installs, I used the version 21 of wx-config, and still get these errors: E:\Plang\Libraries\wxWidgets2.9cabal install wxc Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\guthrie\AppData\Local\Temp\wxc-0. 90.0.3-11300\wxc-0.90.0.3\Setup.hs, C:\Users\guthrie\AppData\Local\Temp\wxc-0.90 .0.3-11300\wxc-0.90.0.3\dist\setup\Main.o ) Linking C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-11300\wxc-0.90.0.3\dist\setup\setup.exe ... Configuring wxc-0.90.0.3... Configuring wxc to build against wxWidgets 2.9 setup.exe: Missing dependencies on foreign libraries: * Missing C libraries: wxmsw29ud_all, wxmsw29ud 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: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 Using your FLAGS did help in the build of wxWidgets, now all of the samples compile and run. Upgrading to version 26 of wx-config changes the errors to this: C:\Users\guthrie\AppData\Roaming\cabal\bincabal install wxc Resolving dependencies... command line: cannot satisfy -package Cabal-1.10.2.0: Cabal-1.10.2.0-db589dd5d526d3111ac2fde0f9ab986c is unusable due to missing or recursive dependencies: array-0.3.0.2-8e9cd0144e87fa9cc86cc9031631c4f3 base-4.3.1.0-f520cd232cc386 346843c4a12b63f44b containers-0.4.0.0-18deac99a132f04751d862b77aab136e directory -1.1.0.0-3a2367d72569467a8af8a231656ff1b8 filepath-1.2.0.0-f132e9f7703da4e20a47f f2b9acf1ea1 old-time-1.0.0.6-445ce39cbcebd38069c25c0f383b728d pretty-1.0.1.2-abc 7c632374e50e1c1927987c2651f0f process-1.0.1.5-b3dded8e54a2e13d22af410bdcfafff4 (use -v for more information) cabal: Error: some packages failed to install: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 Trying to resolve them: C:\Users\guthrie\AppData\Roaming\cabal\bincabal install base Resolving dependencies... cabal: internal error: impossible C:\Users\guthrie\AppData\Roaming\cabal\bincabal install array Resolving dependencies... No packages to be installed. All the requested packages are already installed. If you want to reinstall anyway then use the --reinstall flag. C:\Users\guthrie\AppData\Roaming\cabal\bincabal install process Resolving dependencies... No packages to be installed. All the requested packages are already installed. If you want to reinstall anyway then use the --reinstall flag. Etc... ??? --- -Original Message- From: Fabian Binz [mailto:fabianb...@yahoo.de] Sent: Thursday, June 07, 2012 12:37 PM To: wxhaskell-users@lists.sourceforge.net Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows Does anyone run WxHaskell 2.9 on Windows? Yes. library files: gcc_mswuddll gcc_mswudll It should create a wxmsw293u_gcc_custom.dll (and maybe a wxmsw293u_gl_gcc_custom.dll for OpenGL support). Do you run cabal install wxc from Msys-Bash or from cmd.exe? You should use the latter. Also, which make flags did you use? I compiled wxWidgets-2.9.3 with the following command (from msys-bash): cd your-wxWidgets-2.9.3-dir/build/msw mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 Then, with the wx-config.exe from the wiki page in PATH, I open cmd.exe and type: cabal install wxc I hope this helps. Regards, Fabian
Re: [wxhaskell-users] problems buiding wxHaskell on Windows
Hmm, I think I got it fixed. I did a clean-out of cabal files, reloaded them all, and made sure that I only had wx-config 2.6 anywhere on my path, and it seems to build properly now! I think that although I was seeing a new (2.6) wx-config, there was still an old (2.1) around on which was getting found somehow, and this was goofing things up. I deleted it, made sure only 2.6 versions were areound, and now it all seems to build. Next to try in in Haskell! Thanks for the help and hints. --- -Original Message- From: Gregory Guthrie [mailto:guth...@mum.edu] Sent: Thursday, June 14, 2012 7:52 PM To: Fabian Binz; wxhaskell-users@lists.sourceforge.net Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows C:\Users\guthriecabal --version cabal-install version 0.14.0 using version 1.14.0 of the Cabal library C:\Users\guthrieghc-pkg list E:/Plang/Haskell Platform\lib\package.conf.d: Cabal-1.10.1.0 Cabal-1.10.2.0 Cabal-1.14.0 ... C:\Users\guthriecabal install wxc Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3- 12076\wxc-0.90.0.3\Setup.hs, C:\Users\guthrie\AppData \Local\Temp\wxc-0.90.0.3-12076\wxc-0.90.0.3\dist\setup\Main.o ) Linking C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-12076\wxc- 0.90.0.3\dist\setup\setup.exe ... Configuring wxc-0.90.0.3... Configuring wxc to build against wxWidgets 2.9 setup.exe: Missing dependencies on foreign libraries: * Missing C libraries: wxmsw29ud_all, wxmsw29ud 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: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 -Original Message- From: Fabian Binz [mailto:fabianb...@yahoo.de] Sent: Wednesday, June 13, 2012 1:02 PM To: wxhaskell-users@lists.sourceforge.net Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows But I note that the wiki page for wxHaskell says to have a cabal/wxc-xxx/ghcversion I don't have that either. I thus conclude, that you don't need it and it doesn't seem to be the source of your problem. cabal install wxc Resolving dependencies... command line: cannot satisfy -package Cabal-1.10.2.0: Which version of Cabal (note: the library, not the tool cabal-install) do you have installed? You can check that by running ghc-pkg list from the command line. Maybe it's a problem with your package database (you can check by running ghc-pkg check and if it is broken you can try ghc-pkg recache). -Ursprüngliche Nachricht- Von: Gregory Guthrie [mailto:guth...@mum.edu] Gesendet: Mittwoch, 13. Juni 2012 18:25 An: Fabian Binz; wxhaskell-users@lists.sourceforge.net Betreff: RE: [wxhaskell-users] problems buiding wxHaskell on Windows Yes, I did just this. Using your flags all of wxWidgets compile, and all samples run. But I note that the wiki page for wxHaskell says to have a cabal/wxc-xxx/ghcversion On the path, but I don't have any such directory in my cabal (although I did set the path...). There is a wxdirect-0.90.0.1 installed there, nothing else new of wx*. Trying to do the cabal installs, I used the version 21 of wx-config, and still get these errors: E:\Plang\Libraries\wxWidgets2.9cabal install wxc Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\guthrie\AppData\Local\Temp\wxc-0. 90.0.3-11300\wxc-0.90.0.3\Setup.hs, C:\Users\guthrie\AppData\Local\Temp\wxc- 0.90 .0.3-11300\wxc-0.90.0.3\dist\setup\Main.o ) Linking C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-11300\wxc- 0.90.0.3\dist\setup\setup.exe ... Configuring wxc-0.90.0.3... Configuring wxc to build against wxWidgets 2.9 setup.exe: Missing dependencies on foreign libraries: * Missing C libraries: wxmsw29ud_all, wxmsw29ud 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: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 Using your FLAGS did help in the build of wxWidgets, now all of the samples compile and run. Upgrading to version 26 of wx-config changes the errors to this: C:\Users\guthrie\AppData\Roaming\cabal\bincabal install wxc Resolving dependencies
Re: [wxhaskell-users] problems buiding wxHaskell on Windows
Yes, I did just this. Using your flags all of wxWidgets compile, and all samples run. But I note that the wiki page for wxHaskell says to have a cabal/wxc-xxx/ghcversion On the path, but I don't have any such directory in my cabal (although I did set the path...). There is a wxdirect-0.90.0.1 installed there, nothing else new of wx*. Trying to do the cabal installs, I used the version 21 of wx-config, and still get these errors: E:\Plang\Libraries\wxWidgets2.9cabal install wxc Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\guthrie\AppData\Local\Temp\wxc-0. 90.0.3-11300\wxc-0.90.0.3\Setup.hs, C:\Users\guthrie\AppData\Local\Temp\wxc-0.90 .0.3-11300\wxc-0.90.0.3\dist\setup\Main.o ) Linking C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-11300\wxc-0.90.0.3\dist\setup\setup.exe ... Configuring wxc-0.90.0.3... Configuring wxc to build against wxWidgets 2.9 setup.exe: Missing dependencies on foreign libraries: * Missing C libraries: wxmsw29ud_all, wxmsw29ud 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: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 Using your FLAGS did help in the build of wxWidgets, now all of the samples compile and run. Upgrading to version 26 of wx-config changes the errors to this: C:\Users\guthrie\AppData\Roaming\cabal\bincabal install wxc Resolving dependencies... command line: cannot satisfy -package Cabal-1.10.2.0: Cabal-1.10.2.0-db589dd5d526d3111ac2fde0f9ab986c is unusable due to missing or recursive dependencies: array-0.3.0.2-8e9cd0144e87fa9cc86cc9031631c4f3 base-4.3.1.0-f520cd232cc386 346843c4a12b63f44b containers-0.4.0.0-18deac99a132f04751d862b77aab136e directory -1.1.0.0-3a2367d72569467a8af8a231656ff1b8 filepath-1.2.0.0-f132e9f7703da4e20a47f f2b9acf1ea1 old-time-1.0.0.6-445ce39cbcebd38069c25c0f383b728d pretty-1.0.1.2-abc 7c632374e50e1c1927987c2651f0f process-1.0.1.5-b3dded8e54a2e13d22af410bdcfafff4 (use -v for more information) cabal: Error: some packages failed to install: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 Trying to resolve them: C:\Users\guthrie\AppData\Roaming\cabal\bincabal install base Resolving dependencies... cabal: internal error: impossible C:\Users\guthrie\AppData\Roaming\cabal\bincabal install array Resolving dependencies... No packages to be installed. All the requested packages are already installed. If you want to reinstall anyway then use the --reinstall flag. C:\Users\guthrie\AppData\Roaming\cabal\bincabal install process Resolving dependencies... No packages to be installed. All the requested packages are already installed. If you want to reinstall anyway then use the --reinstall flag. Etc... ??? --- -Original Message- From: Fabian Binz [mailto:fabianb...@yahoo.de] Sent: Thursday, June 07, 2012 12:37 PM To: wxhaskell-users@lists.sourceforge.net Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows Does anyone run WxHaskell 2.9 on Windows? Yes. library files: gcc_mswuddll gcc_mswudll It should create a wxmsw293u_gcc_custom.dll (and maybe a wxmsw293u_gl_gcc_custom.dll for OpenGL support). Do you run cabal install wxc from Msys-Bash or from cmd.exe? You should use the latter. Also, which make flags did you use? I compiled wxWidgets-2.9.3 with the following command (from msys-bash): cd your-wxWidgets-2.9.3-dir/build/msw mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 Then, with the wx-config.exe from the wiki page in PATH, I open cmd.exe and type: cabal install wxc I hope this helps. Regards, Fabian -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] problems buiding wxHaskell on Windows
I've never managed to get wxHaskell running without problems on windows, last time I tried there was some kind of encoding problem, and I gave up. That would be cool if there was an installer that would install wxHaskell with all dependences on top of a freshly installed haskell platform on windows. I would be eternally thankful if someone could do that. David. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] problems buiding wxHaskell on Windows
I haven't updated haskell platform to newest, but I would find it strange if the old version stopped working. If you merely had to rebuild wxhaskell, the issue might be that 0.9 and 0.13.2.1 target version 2.9 by default. Wx-0.13.2.1 can be configured to use your 2.8 installation. I roughly outlined the process in previous post. http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg01139.html As a side note, most of the mysterious cabal build errors I get (on windows 7) are fixed by running set LANG=C in cmd before compiling (or setting it as permanent environment variable). Installer would indeed be very nice, but it takes a lot of work to create and maintain universal installer and it would currently benefit only a handful of people. I'm guessing the majority of wxhaskell users are fairly savvy developers, so it would not seem worth the trouble. That of course quickly becomes self fulfilling statement since it will actively drive away people who have no interest in fiddling with the nuances of the installation process. They may give it a try, but fail and give up and you never hear from them. I will devote some time on this if I end up using haskell on more projects. Most people who wish to use wxhaskell are not likely to participate in its development, but at the same time people are less willing to develop a library with only few users. Haskell platform itself is pretty much single click installation, and it is very easy to get started with. Ideally that should be the case with every gui toolkit as well. Antton On Thu, Jun 7, 2012 at 10:55 AM, David Virebayre dav.vire+hask...@gmail.com wrote: I've never managed to get wxHaskell running without problems on windows, last time I tried there was some kind of encoding problem, and I gave up. That would be cool if there was an installer that would install wxHaskell with all dependences on top of a freshly installed haskell platform on windows. I would be eternally thankful if someone could do that. David. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] problems buiding wxHaskell on Windows
Antton Tapani wrote: Installer would indeed be very nice, but it takes a lot of work to create and maintain universal installer and it would currently benefit only a handful of people. I'm guessing the majority of wxhaskell users are fairly savvy developers, so it would not seem worth the trouble. That of course quickly becomes self fulfilling statement since it will actively drive away people who have no interest in fiddling with the nuances of the installation process. They may give it a try, but fail and give up and you never hear from them. I will devote some time on this if I end up using haskell on more projects. Most people who wish to use wxhaskell are not likely to participate in its development, but at the same time people are less willing to develop a library with only few users. Haskell platform itself is pretty much single click installation, and it is very easy to get started with. Ideally that should be the case with every gui toolkit as well. [Cross posting to the libraries list.] Actually, maybe it's possible to integrate the creation of one-click installers with the Haskell Platform efforts? The best option would be to have wxHaskell to become part of the platform, but it probably doesn't meet the criteria for inclusion right now. But the focus is on the underlying C libraries anyway, these are the things that are tricky to install. Of course, someone has to prepare an installer, this amount of work doesn't magically disappear. But maybe it's a good idea to share common infrastructure, resources and knowledge with the Haskell Platform effort? Things that can be shared are: * the guy with the hat on top (release manager) who prods people to stay in sync * testing infrastructure (I have this romantic image where the Haskell Platforms hackers have access to a vast cloud of virtual machines to test their installation on different systems) * shell scripts for automating the creation of installers. (I for one have no clue how to create an installer on MacOS X.) So, the idea would be to have several installers: the Haskell Platform as a basis and then several Pillars on top, for instance the GUI Pillar that includes binaries for wxHaskell and GTK, or a Web Pillar that collects several web packages as soon as they become tricky to install with cabal (yesod platform). The latter should probably be a user install, not a global one. Best regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] problems buiding wxHaskell on Windows
I did a complete re-build of wxWidgets2.9, and it seemed to complete successfully with a built library files: gcc_mswuddll gcc_mswudll. Then I went into the samples directory and built all the samples, they all seemed to build fine, but when I try to execute them they give: wbase293ud_gcc_custom.dll not found And it still doesn't seem to have installed wxc or wxcore (not in the cabal directory). Does anyone run WxHaskell 2.9 on Windows? Cc: wxhaskell-users@lists.sourceforge.net Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows I've never managed to get wxHaskell running without problems on windows, last time I tried there was some kind of encoding problem, and I gave up. That would be cool if there was an installer that would install wxHaskell with all dependences on top of a freshly installed haskell platform on windows. I would be eternally thankful if someone could do that. David. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
Re: [wxhaskell-users] problems buiding wxHaskell on Windows
Does anyone run WxHaskell 2.9 on Windows? Yes. library files: gcc_mswuddll gcc_mswudll It should create a wxmsw293u_gcc_custom.dll (and maybe a wxmsw293u_gl_gcc_custom.dll for OpenGL support). Do you run cabal install wxc from Msys-Bash or from cmd.exe? You should use the latter. Also, which make flags did you use? I compiled wxWidgets-2.9.3 with the following command (from msys-bash): cd your-wxWidgets-2.9.3-dir/build/msw mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 Then, with the wx-config.exe from the wiki page in PATH, I open cmd.exe and type: cabal install wxc I hope this helps. Regards, Fabian -Ursprüngliche Nachricht- Von: Gregory Guthrie [mailto:guth...@mum.edu] Gesendet: Donnerstag, 7. Juni 2012 18:12 An: David Virebayre Cc: wxhaskell-users@lists.sourceforge.net Betreff: Re: [wxhaskell-users] problems buiding wxHaskell on Windows I did a complete re-build of wxWidgets2.9, and it seemed to complete successfully with a built library files: gcc_mswuddll gcc_mswudll. Then I went into the samples directory and built all the samples, they all seemed to build fine, but when I try to execute them they give: wbase293ud_gcc_custom.dll not found And it still doesn't seem to have installed wxc or wxcore (not in the cabal directory). Does anyone run WxHaskell 2.9 on Windows? Cc: wxhaskell-users@lists.sourceforge.net Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows I've never managed to get wxHaskell running without problems on windows, last time I tried there was some kind of encoding problem, and I gave up. That would be cool if there was an installer that would install wxHaskell with all dependences on top of a freshly installed haskell platform on windows. I would be eternally thankful if someone could do that. David. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users