cabal: Could not resolve dependencies

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 -- Message from Stanford University: Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://foldingathome.stanford.edu/ -- http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --

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
participants (2)
-
Henk-Jan van Tuyl
-
Vanessa McHale