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

dokondr dokondr at gmail.com
Tue Nov 8 12:54:03 CET 2011


Package Text.XML.HXT.Arrow existed only in 8.5.2 version of hxt:
http://hackage.haskell.org/packages/archive/hxt/8.5.2/doc/html/Text-XML-HXT-Arrow.html

Yet trying to install with this version produce even more problems:

~>cabal --constraint=hxt==8.5.2 install hSimpleDB
Resolving dependencies...
cabal: cannot configure Crypto-4.2.3. It requires QuickCheck >=2.4.0.1
For the dependency on QuickCheck >=2.4.0.1 there are these packages:
QuickCheck-2.4.0.1, QuickCheck-2.4.1 and QuickCheck-2.4.1.1. However none of
them are available.
QuickCheck-2.4.0.1 was excluded because tagsoup-0.8 requires QuickCheck
==2.1.*
QuickCheck-2.4.1 was excluded because tagsoup-0.8 requires QuickCheck
==2.1.*
QuickCheck-2.4.1.1 was excluded because tagsoup-0.8 requires QuickCheck
==2.1.*


On Tue, Nov 8, 2011 at 2:43 PM, dokondr <dokondr at gmail.com> wrote:

>
>
> 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...
> Building hSimpleDB-0.3...
>
> src/Network/AWS/Authentication.hs:47:7:
>     Could not find module `Text.XML.HXT.Arrow':
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111108/1cbeeb27/attachment.htm>


More information about the Haskell-Cafe mailing list