From: Jesse H. <hes...@gm...> - 2010-08-18 20:36:19
|
Hi, I have Haskell Platform installed, and I recently decided to try out wxHaskell. At first I went here: http://hackage.haskell.org/package/wx(Hackage) and just downloaded the wx-0.12.1.6.tar.gz<http://hackage.haskell.org/packages/archive/wx/0.12.1.6/wx-0.12.1.6.tar.gz>file. I unzipped that and wasn't sure what to do with it, so I went to the #haskell irc channel. They told me about cabal, so I deleted the files that I'd downloaded and tried the following command: cabal install wx This appeared to be working, but at the very end I got the following error: cabal: Error: some packages failed to install: wx-0.12.1.6 depends on wxcore-0.12.1.6 which failed to install. wxcore-0.12.1.6 failed during the configuration step. The exception was: ExitFailure 1 A few lines above that: setup.exe: wx-config: does not exist. I was told to go to this page: http://sites.google.com/site/wxconfig/ and download wx-config. I did so, and added the folder that I saved it to to my Path variable. I also created both user and system environment variables called WXWIN and set their value to the full path of wx-config (I tried this with and without the .exe suffix). Still, cabal continues to claim that wx-config does not exist. I was hoping that there might be someone on this list who has used wx on Windows and might be able to help me. Thanks for taking the time to read this, Jesse Hester |
From: Henk-Jan v. T. <hj...@ch...> - 2010-08-23 21:19:08
|
On Wed, 18 Aug 2010 22:36:07 +0200, Jesse Hester <hes...@gm...> wrote: > setup.exe: wx-config: does not exist. > > I was told to go to this page: http://sites.google.com/site/wxconfig/ and > download wx-config. I did so, and added the folder that I saved it to to > my > Path variable. I also created both user and system environment variables > called WXWIN and set their value to the full path of wx-config (I tried > this > with and without the .exe suffix). > > Still, cabal continues to claim that wx-config does not exist. > I have wx-config.exe in my search path and wx installs just fine. WXWIN should point to the directory where wxWidgets is installed; you should also define WXCFG to specify the configuration. These are the commands I use to install wxHaskell: cabal update set WXWIN=C:\Qwerty\usr\Henk-Jan\Haskell\wxWidgets-2.8.11 set WXCFG=gcc_dll\mswu set CPLUS_INCLUDE_PATH=C:\Qwerty\MinGW\include\c++\3.4.5;C:\Qwerty\MinGW\include\c++\3.4.5\mingw32\ cabal install wx --global Environment variables that are always set in my computer: C_INCLUDE_PATH=C:\Qwerty\usr\local\include;C:\Qwerty\usr\local\include\SDL; LIBRARY_PATH=C:\Qwerty\usr\local\lib;C:\Qwerty\MinGW\lib;C:\Qwerty\usr\local\lib\curl; These are needed for C packages in general. You can also find instructions at http://www.haskell.org/haskellwiki/WxHaskell/Building Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html -- |
From: S. D. S. <do...@sw...> - 2010-09-08 09:50:20
|
On the page; http://www.haskell.org/haskellwiki/WxHaskell/Download there are binary versions for wxHaskell for the ghc 6.10. Are there versions available for 6.12 a distributed by the Haskell platform, and if so could someone upload them? I am a Windows nitwit, but should like to use wxhaskell in the introductory FP course, without the students having to install two ghc versions. Doaitse PS: I tried to install wxHaskell myself in VirtualBox running Wondows 7, but keep getting complaints from wx-config about paths I have to set, 9especially the set WXCFG=gcc_dll\mswu) despite that they have been set. This is on Windows 7, so that may be part of the problem. On 23 aug 2010, at 23:18, Henk-Jan van Tuyl wrote: > On Wed, 18 Aug 2010 22:36:07 +0200, Jesse Hester <hes...@gm...> > wrote: > >> setup.exe: wx-config: does not exist. >> >> I was told to go to this page: http://sites.google.com/site/wxconfig/ and >> download wx-config. I did so, and added the folder that I saved it to to >> my >> Path variable. I also created both user and system environment variables >> called WXWIN and set their value to the full path of wx-config (I tried >> this >> with and without the .exe suffix). >> >> Still, cabal continues to claim that wx-config does not exist. >> > > I have wx-config.exe in my search path and wx installs just fine. WXWIN > should point to the directory where wxWidgets is installed; you should > also define WXCFG to specify the configuration. These are the commands I > use to install wxHaskell: > > cabal update > > set WXWIN=C:\Qwerty\usr\Henk-Jan\Haskell\wxWidgets-2.8.11 > set WXCFG=gcc_dll\mswu > set > CPLUS_INCLUDE_PATH=C:\Qwerty\MinGW\include\c++\3.4.5;C:\Qwerty\MinGW\include\c++\3.4.5\mingw32\ > > cabal install wx --global > > Environment variables that are always set in my computer: > C_INCLUDE_PATH=C:\Qwerty\usr\local\include;C:\Qwerty\usr\local\include\SDL; > LIBRARY_PATH=C:\Qwerty\usr\local\lib;C:\Qwerty\MinGW\lib;C:\Qwerty\usr\local\lib\curl; > These are needed for C packages in general. > > You can also find instructions at > http://www.haskell.org/haskellwiki/WxHaskell/Building > > Regards, > Henk-Jan van Tuyl > > > -- > http://Van.Tuyl.eu/ > http://members.chello.nl/hjgtuyl/tourdemonad.html > -- > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Jeremy O'D. <jer...@gm...> - 2010-09-09 08:37:27
|
On Wed, 08 Sep 2010 11:31 +0200, "S. Doaitse Swierstra" <do...@sw...> wrote: > On the page; http://www.haskell.org/haskellwiki/WxHaskell/Download > > there are binary versions for wxHaskell for the ghc 6.10. > > Are there versions available for 6.12 a distributed by the Haskell > platform, and if so could someone upload them? I am a Windows nitwit, but > should like to use wxhaskell in the introductory FP course, without the > students having to install two ghc versions. With the build now being cabalized, we've discontinued the installers, and depend on Haskell Platform and wxWidgets being available. It's quite a bit of work to do a good installer, and there didn't seem to be much demand now that Cabal works well. > PS: I tried to install wxHaskell myself in VirtualBox running Wondows 7, > but keep getting complaints from wx-config about paths I have to set, > 9especially the set WXCFG=gcc_dll\mswu) despite that they have been set. > This is on Windows 7, so that may be part of the problem. Hmm. This works for me on a 64 bit Windows 7 image and on a (32 bit) XP image. I have found that it is more reliable to run the command window (cmd.exe) as Administrator to get the installation to work on Windows 7. I do exactly the same as Henk-Jan suggests below. > On 23 aug 2010, at 23:18, Henk-Jan van Tuyl wrote: > > > On Wed, 18 Aug 2010 22:36:07 +0200, Jesse Hester <hes...@gm...> > > wrote: > > > >> setup.exe: wx-config: does not exist. > >> > >> I was told to go to this page: http://sites.google.com/site/wxconfig/ and > >> download wx-config. I did so, and added the folder that I saved it to to > >> my > >> Path variable. I also created both user and system environment variables > >> called WXWIN and set their value to the full path of wx-config (I tried > >> this > >> with and without the .exe suffix). > >> > >> Still, cabal continues to claim that wx-config does not exist. > >> > > > > I have wx-config.exe in my search path and wx installs just fine. WXWIN > > should point to the directory where wxWidgets is installed; you should > > also define WXCFG to specify the configuration. These are the commands I > > use to install wxHaskell: > > > > cabal update > > > > set WXWIN=C:\Qwerty\usr\Henk-Jan\Haskell\wxWidgets-2.8.11 > > set WXCFG=gcc_dll\mswu > > set > > CPLUS_INCLUDE_PATH=C:\Qwerty\MinGW\include\c++\3.4.5;C:\Qwerty\MinGW\include\c++\3.4.5\mingw32\ > > > > cabal install wx --global > > > > Environment variables that are always set in my computer: > > C_INCLUDE_PATH=C:\Qwerty\usr\local\include;C:\Qwerty\usr\local\include\SDL; > > LIBRARY_PATH=C:\Qwerty\usr\local\lib;C:\Qwerty\MinGW\lib;C:\Qwerty\usr\local\lib\curl; > > These are needed for C packages in general. > > > > You can also find instructions at > > http://www.haskell.org/haskellwiki/WxHaskell/Building > > > > Regards, > > Henk-Jan van Tuyl Regards Jeremy -- Jeremy O'Donoghue jer...@gm... |