[Haskell-cafe] Cabal problem re. haskelldb-hdbc-mysql

Albert Y. C. Lai trebla at vex.net
Fri Jul 6 03:09:53 CEST 2012


On 12-07-04 10:58 AM, Yves Parès wrote:
> the package http://hackage.haskell.org/package/haskelldb-hdbc-mysql/ the
> use of HDBC <2.3.0
> I'm using cabal-install 0.14, and with a fresh install (no packages
> already installed), cabal-install tries to install HDBC-2.1.1 instead
> of, say, HDBC-2.2.7.0.

HDBC 2.2.* all want time>=1.1.2.4 && <=1.2.0.3, GHC 7.4.1 comes with 
time-1.4, therefore HDBC 2.2.* are all rejected. 2.1.1 is the topmost 
one without the upper bound.

This analysis is made possible by "cabal install --dry-run -v3 
haskelldb-hdbc-mysql" of cabal-install 0.14. Now with actually relevant 
output! (As part of the new "modular" solver, I guess.)

P.S. haskelldb-hdbc wants mtl-2.0.*, but you already have mtl-2.1 
because you have cabal-install 0.14. mtl-2.0.1.0 in turn wants 
transformers-0.2.*, but you already have transformers-0.3.0.0 again 
because you have cabal-install 0.14. Expect mysterious problems in the 
future.




More information about the Haskell-Cafe mailing list