[Haskell-cafe] cabal: Could not resolve dependencies

Vanessa McHale vamchale at gmail.com
Wed Aug 7 02:03:23 UTC 2019


Is there a reason you're using GHC 8.8.1?

This means that wxcore uses a custom setup, and that custom setup
requires Cabal <2.6. But you can't use Cabal 2.4 because that requires
base <4.13

Cheers,
Vanessa McHale

On 8/6/19 7:11 PM, Henk-Jan van Tuyl wrote:
>
> L.S.,
>
> I am trying to compile wxHaskell with GHC 8.8.0.20190721 and I get the
> following messages from cabal-install:
>
>> cabal new-build all --disable-documentation
> Resolving dependencies...
> cabal: Could not resolve dependencies:
> [__0] trying: samplesContrib-0.93.0.0 (user goal)
> [__1] trying: base-4.13.0.0/installed-4.1... (dependency of
> samplesContrib)
> [__2] trying: wxcore-0.93.0.0 (user goal)
> [__3] next goal: wxcore:setup.Cabal (dependency of wxcore)
> [__3] rejecting: wxcore:setup.Cabal-3.0.0.0/installed-3.0...
> (constraint from
> maximum version of Cabal used by Setup.hs requires <2.6
> [...]
>
> What does this mean, how do I solve it?
> (There is a Setup.hs in package wxcore, but does it have its own Cabal
> file?)
>
>> cabal --version
> cabal-install version 2.4.1.0
> compiled using version 2.4.1.0 of the Cabal library
>
> Regards,
> Henk-Jan van Tuyl
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20190806/039c7b65/attachment.sig>


More information about the Haskell-Cafe mailing list