[Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'
dokondr at gmail.com
Tue Nov 8 12:43:29 CET 2011
On Tue, Nov 8, 2011 at 2:31 PM, Audun Skaugen <audunskaugen at gmail.com>wrote:
> Erik Hesselink wrote:
>> On Tue, Nov 8, 2011 at 12:16, Ivan Lazar Miljenovic
>> <ivan.miljenovic at gmail.com> wrote:
>>> On 8 November 2011 22:10, Erik Hesselink <hesselink at gmail.com> wrote:
>>>> 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.
>>> Is the escape needed if you're using single quotes?
>> I don't know. I always escape *s in shell commands to be sure the
>> shell doesn't expand them, but in most of the cases, it probably works
>> without them. It will likely even work without quotes and without the
>> escape, unless you have files matching the pattern.
> The single quote doesn't expand anything, so you don't need to escape the
> *. Actually, this will result in the backslash also being passed to cabal,
> so I would be surprised if your command works at all.
No matter how you escape *, you get the same error:
Preprocessing library hSimpleDB-0.3...
Could not find module `Text.XML.HXT.Arrow':
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe