[Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'
Erik Hesselink
hesselink at gmail.com
Tue Nov 8 12:10:22 CET 2011
This is because hSimpleDB doesn't specify version ranges on its
dependencies, when it should. Since hxt changed its module structure
going from 9.0 to 9.1, hSimpleDB doesn't build against 9.0.
You can try to build it by adding '--constraint=hxt==9.0.\*' after
your cabal-install command. You can also ask the author to add version
ranges to the package.
Erik
On Tue, Nov 8, 2011 at 11:58, dokondr <dokondr at gmail.com> wrote:
> Hi,
> On Mac OSX, ghc-6.12.3, I have successfully installed the 'hxt' package:
> http://hackage.haskell.org/package/hxt-8.5.2
>
> Registering hxt-9.1.4...
> Installing library in /Users/user/.cabal/lib/hxt-9.1.4/ghc-6.12.3
>
> Now when I try to install hSimpleDB
> (http://hackage.haskell.org/package/hSimpleDB) I get the following error:
>
> cabal install hSimpleDB
> ...
> Registering HTTP-4000.0.9...
> Installing library in /Users/user/.cabal/lib/HTTP-4000.0.9/ghc-6.12.3
> Registering HTTP-4000.0.9...
> Configuring hSimpleDB-0.3...
> Preprocessing library hSimpleDB-0.3...
> Building hSimpleDB-0.3...
>
> src/Network/AWS/Authentication.hs:47:7:
> Could not find module `Text.XML.HXT.Arrow':
> Use -v to see a list of the files searched for.
> cabal: Error: some packages failed to install:
> hSimpleDB-0.3 failed during the building phase. The exception was:
> ExitFailure 1
>
> Any ideas how to solve this?
>
> Thanks!
> Dmitri
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
More information about the Haskell-Cafe
mailing list