Duncan Coutts | 3 Dec 12:22
Picon
Picon
Favicon

Re: Data.ByteString vs Data.ByteString.Lazy vs Data.ByteString.Char8

On Wed, 2008-12-03 at 01:52 -0600, Galchin, Vasili wrote:
> Warning: This package indirectly depends on multiple versions of the
> same
> package. This is highly likely to cause a compile failure.
> package binary-0.4.2 requires bytestring-0.9.0.1
> package bio-0.3.4.1 requires bytestring-0.9.1.0
> 
> 
> ah ha .. Ketil, this is what you are saying? If so, how do I fix?
> install a newer version of binary?

This is the most significant issue that cabal-install addresses. It
works out what needs to be rebuilt to get consistent dependencies.

In this example you could run:

$ cabal install --dry-run

in the directory containing your package and it will say what it would
install or re-install to be able to build your package. If you drop the
--dry-run then it will actually do it, including installing your
package.

Duncan

Gmane