Am 27.09.2010 13:31, schrieb Daniel Fischer: > On Monday 27 September 2010 12:58:08, Christian Maeder wrote: >> >> I've tried to install HTTP (for cabal-install) and get the following >> error: >> >> Configuring HTTP-4000.0.9... >> Setup: At least the following dependencies are missing: >> base ==3.* >> >> What is the problem? The Build-depends of HTTP's cabal file look correct >> (and fulfilled): >> Build-depends: base >= 3, array, old-time, bytestring
The HTTP.cabal file is not correct! Build-depends: base >= 2 && < 4, network, parsec, mtl (an additional constraint does not help) Cheers Christian >> >> Cheers Christian > > Probably it's the preferred versions on hackage: > -- A global set of preferred versions. > -- > -- This is to indicate a current recommended version, to allow stable and > -- experimental versions to co-exist on hackage and to help transitions > -- between major API versions. > -- > -- Tools like cabal-install take these preferences into account when > -- constructing install plans. > -- > base < 4 > parsec < 3 > cabal-install < 0.10 > > > Try installing it with --constraint="base >= 4" and if that doesn't > suffice, --preference="base >= 4". > > Cheers, > Daniel _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users