After an upgrade to the new Haskell Platform, my existing wxHaskell programs 
are broken. They all seem to now require wxWidgets 2.9, for which I can't find 
any binary versions. wxPack has 2.8, and beyond that one has to get a compiler 
and build it locally from what I see.
There are tutorials on this from various sources, each a few pages long, with 
various advice on setup, changing configurations, etc. Install wxConfig, 
install minGW compilers, setup configurations, rebuild, etc.

Is there any source of a simple binary install? I'd hope for some simple 
apt-get or cabal like tool, Haskell library tools (on Windows?) seem less 
integrated than others that I'm familiar with.

I did follow the instructions at:

to install and compile wxWidgets locally, and still cannot get the wxHaskell 
components to install. I'm sure that all of this just requires some fairly 
simple details, but again after some time already, hope not to have to spend a 
lot more time on this, and wish it was more automated!

    >cabal install wxc
    Configuring wxc-
    Configuring wxc to build against wxWidgets 2.9

    setup.exe: Missing dependencies on foreign libraries:
    * Missing C libraries: wxmsw29ud_all, wxtiffd, wxjpegd, wxpngd, wxzlibd, 
wxregexud, wxexpatd, wxregexud
    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:
    wx- depends on wxc- which failed to install.
    wxc- failed during the configure step. The exception was: 
ExitFailure 1
    wxcore- depends on wxc- which failed to install.

Someone on Haskell-beginners noted that it looks like I compiled wxWidgets, but 
did not install them - Could be, but the above instructions do not mention that.

I see in my cabal directory that it has files :

I also notice that these instructions require a bunch of PATH fiddling that I 
never had to do before for wxWidgets /wxHaskell 2.8. 
Also that it asks to install a path pointer to the cabal directory to 
\wxc-%WXC_VERSION%\%GHC_VERSION% which file does not exist on my system.  ??

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 
wxhaskell-users mailing list

Reply via email to