GUI (was: Re: [Haskell-cafe] DLL on Windows)
Thomas DuBuisson
thomas.dubuisson at gmail.com
Wed Feb 17 20:47:04 EST 2010
On Wed, Feb 17, 2010 at 3:17 AM, Jeremy O'Donoghue
<jeremy.odonoghue at gmail.com> wrote:
> 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).
FYI, it also seems the current version of wxcore assumes something
that isn't true about Cabal (again, I use Cabal 1.8.0.2). I just
tested with ghc-6.10.4 + Cabal 1.8.0.2 + cabal-install 0.8.0 and
received what is probably a well known complaint:
[tommd at Mavlo ~]$ cabal install wx
Resolving dependencies...
[1 of 1] Compiling Main (
/tmp/wxcore-0.12.1.23133/wxcore-0.12.1.2/Setup.hs,
/tmp/wxcore-0.12.1.23133/wxcore-0.12.1.2/dist/setup/Main.o )
/tmp/wxcore-0.12.1.23133/wxcore-0.12.1.2/Setup.hs:15:57:
Couldn't match expected type `GenericPackageDescription'
against inferred type `Either
GenericPackageDescription
PackageDescription'
Expected type: (GenericPackageDescription, HookedBuildInfo)
Inferred type: (Either
GenericPackageDescription PackageDescription,
HookedBuildInfo)
In the `confHook' field of a record
In the first argument of `defaultMainWithHooks', namely
`simpleUserHooks {confHook = myConfHook}'
/tmp/wxcore-0.12.1.23133/wxcore-0.12.1.2/Setup.hs:51:37:
Couldn't match expected type `GenericPackageDescription'
against inferred type `Either
GenericPackageDescription
PackageDescription'
In the expression: pkg0
In the second argument of `confHook', namely `(pkg0, pbi)'
In a stmt of a 'do' expression:
lbi <- confHook simpleUserHooks (pkg0, pbi) flags
cabal: Error: some packages failed to install:
wx-0.12.1.2 depends on wxcore-0.12.1.2 which failed to install.
wxcore-0.12.1.2 failed during the configure step. The exception was:
ExitFailure 1
More information about the Haskell-Cafe
mailing list