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

Nicolas Wu nicolas.wu at gmail.com
Thu Jul 5 17:50:56 CEST 2012


On Wed, Jul 4, 2012 at 3:58 PM, Yves Parès <yves.pares at gmail.com> wrote:
> Hi,
> 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.
>
> The problem is that HDBC-2.1.1 is old (2009) and does not compile.
>
> When I download haskelldb-hdbc-mysql manually, change the dependency and
> then install, it compiles fine.
>
> Is the dependency ill-declared, or is that a cabal problem?

Apart from the change of license, there were no serious changes to the
HDBC interface between the 2.2.* and 2.3.* series: as far as I know,
it should be fine to change the dependency. That said, I've not worked
with haskelldb-hdbc-mysql, so I can't say for sure.



More information about the Haskell-Cafe mailing list