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

2011-11-08 Thread dokondr
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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-08 Thread Ivan Lazar Miljenovic
On 8 November 2011 21:58, dokondr doko...@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.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-08 Thread Erik Hesselink
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 doko...@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@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-08 Thread Ivan Lazar Miljenovic
On 8 November 2011 22:10, Erik Hesselink hessel...@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?

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-08 Thread Erik Hesselink
On Tue, Nov 8, 2011 at 12:16, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
 On 8 November 2011 22:10, Erik Hesselink hessel...@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.

Erik

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-08 Thread dokondr
Thanks,
Alas adding '--constraint=hxt==9.0.\*' after cabal-install command does not
help. I get the same error.

On Tue, Nov 8, 2011 at 2:10 PM, Erik Hesselink hessel...@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.

 Erik

 On Tue, Nov 8, 2011 at 11:58, dokondr doko...@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@haskell.org
  http://www.haskell.org/mailman/listinfo/haskell-cafe
 
 

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-08 Thread dokondr
On Tue, Nov 8, 2011 at 2:31 PM, Audun Skaugen audunskau...@gmail.comwrote:

 Erik Hesselink wrote:

 On Tue, Nov 8, 2011 at 12:16, Ivan Lazar Miljenovic
 ivan.miljeno...@gmail.com wrote:


 On 8 November 2011 22:10, Erik Hesselink hessel...@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':
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-08 Thread dokondr
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 doko...@gmail.com wrote:



 On Tue, Nov 8, 2011 at 2:31 PM, Audun Skaugen audunskau...@gmail.comwrote:

 Erik Hesselink wrote:

 On Tue, Nov 8, 2011 at 12:16, Ivan Lazar Miljenovic
 ivan.miljeno...@gmail.com wrote:


 On 8 November 2011 22:10, Erik Hesselink hessel...@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':


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe