[Haskell-cafe] Simple CSV parser?
dokondr at gmail.com
Fri Jun 17 00:13:49 CEST 2011
On Fri, Jun 17, 2011 at 2:05 AM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:
> On Fri, 17 Jun 2011, Dmitri O.Kondratiev wrote:
> How to make cabal install all the dependencies? I couldn't find this in
>> the docs at:
> Usually, 'cabal install' automatically installs all imported packages. But
> it will certainly not do, if a dependency problem cannot be solved by
> downloading packages. In your case it may be, that installed packages are
> compiled with respect to different versions of the same package, say
> I found out, that you get more useful cabal messages if you force
> cabal-install to use a specific version of a package.
> Say, run
> $ ghc-pkg list transformers
> Then call
> $ cabal install spreadsheet --constraint=transformers==0.2.2.0
> What does 'cabal' tell you?
ghc-pkg list transformers
cabal install spreadsheet --constraint=transformers==0.2.2.0
cabal: cannot configure spreadsheet-0.1. It requires transformers ==0.0.*
For the dependency on transformers ==0.0.* there are these packages:
transformers-0.0.0.0 and transformers-0.0.1.0. However none of them are
transformers-0.0.0.0 was excluded because of the top level dependency
transformers-0.0.1.0 was excluded because of the top level dependency
Compilation exited abnormally with code 1 at Fri Jun 17 02:12:30
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe