GUI (was: Re: [Haskell-cafe] DLL on Windows)
daniel.is.fischer at web.de
Fri Feb 26 09:31:14 EST 2010
Am Mittwoch 17 Februar 2010 12:17:10 schrieb Jeremy O'Donoghue:
> You're probably correct about the dependencies. I have never tried to
> compile wxHaskell against GHC 6.12.1
> I'm waiting for Haskell Platform to be released to make the required
> changes since (working primarily on Windows) I just don't have time to
> create a complete GHC 6.12 installation with most of the HP libraries
> (some of which are a pain to get working on Windows).
> wxHaskell will support GHC 6.12.x within a couple of days of release of
> a suitable Haskell Platform.
Beating a dead horse, but today I decided to see whether I could install
wxHaskell, all it took was a few edits in some .cabal files and one in
wxcore's Setup to make it all build with 6.12.1.
Still, it's annoying because you have to unpack everything, edit and cabal
install in the unpacked directories.
Now since I did that, I could upload new verxions of wxdirect, wxcore and
wx to hackage, so others could do a simple cabal install wx.
But I would only do that if I get a go-ahead from somebody authorised
(since Jeremy uploaded the previous versions, he'd be qualified, I think).
Or I could send the edits to Jeremy and let him do the uploading, whatever
> On Tue, 16 Feb 2010 17:55 -0800, "Thomas DuBuisson"
> <thomas.dubuisson at gmail.com> wrote:
> > On Tue, Feb 16, 2010 at 3:48 PM, Henk-Jan van Tuyl <hjgtuyl at chello.nl>
> > wrote:
> > > On Tue, 16 Feb 2010 18:57:20 +0100, Neil Mitchell
> > > <ndmitchell at gmail.com>
> > >
> > > wrote:
> > >> I used to recommend Gtk2hs over wxHaskell for GUI development as
> > >> there was always a version that worked on Windows with the latest
> > >> GHC release. I think I might have to switch back to recommending C#
> > >> for GUI development...
> > >
> > > The latest revision of wxHaskell can be compiled relatively easy, so
> > > that wxHaskell can be used immediately for the latest version of
> > > GHC.
> > Exciting allegation, but it doesn't quite check out with GHC 6.12.1 +
> > cabal 188.8.131.52 and cabal-install 0.8 (see below). I would expect this
> > issue to be easily resolved by specifying "containers <= 0.3.*" in the
> > "wxdirect" package, but cabal is misbehaving (for me) and stating
> > wxdirect needs reinstalled with a supposedly newer version of
> > containers, 0.2.0.1.
> > Thomas
> > [tommd at Mavlo ~]$ cabal install wx
> > Resolving dependencies...
> > Downloading containers-0.2.0.1...
> > Configuring containers-0.2.0.1...
> > Preprocessing library containers-0.2.0.1...
> > Building containers-0.2.0.1...
> > Data/IntMap.hs:182:7:
> > Could not find module `Data.Data':
> > It is a member of the hidden package `base'.
> > Perhaps you need to add `base' to the build-depends in your
> > .cabal file.
> > Use -v to see a list of the files searched for.
> > cabal: Error: some packages failed to install:
> > containers-0.2.0.1 failed during the building phase. The exception
> > was: ExitFailure 1
> > wx-0.12.1.2 depends on containers-0.2.0.1 which failed to install.
> > wxcore-0.12.1.2 depends on containers-0.2.0.1 which failed to install.
> > wxdirect-0.12.1.1 depends on containers-0.2.0.1 which failed to
> > install.
More information about the Haskell-Cafe