[Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Nov 8 12:06:57 CET 2011

On 8 November 2011 21: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?

Looks like it's missing a dep on hxt.  "cabal unpack hSimpleDB" then
go into the directory, edit the .cabal file to add the dep, and "cabal
install" in that directory.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list