Hello,

 which is your GHC version? On the page for that package it is written that it was successfully built for GHC-7.6. Maybe your GHC version is too old? Otherwise I don't have a clue.

http://hackage.haskell.org/package/HTTP-4000.2.6

Emmanuel


On Tue, Dec 18, 2012 at 2:58 PM, Alexander _ <anotherworldofworld@gmail.com> wrote:
Hello,

I try to install HTTP package. I make:

cabal install HTTP and got error:

[ 1 of 18] Compiling Network.HTTP.Base64 ( Network/HTTP/Base64.hs, dist/build/Network/HTTP/Base64.o )
[ 2 of 18] Compiling Network.HTTP.MD5Aux ( Network/HTTP/MD5Aux.hs, dist/build/Network/HTTP/MD5Aux.o )
[ 3 of 18] Compiling Paths_HTTP ( dist/build/autogen/Paths_HTTP.hs, dist/build/Paths_HTTP.o )

dist/build/autogen/Paths_HTTP.hs:21:13: Not in scope: `catch'

dist/build/autogen/Paths_HTTP.hs:22:13: Not in scope: `catch'

dist/build/autogen/Paths_HTTP.hs:23:14: Not in scope: `catch'

dist/build/autogen/Paths_HTTP.hs:24:17: Not in scope: `catch'
cabal: Error: some packages failed to install:
HTTP-4000.2.6 failed during the building phase. The exception was:
ExitFailure 1

How can i install it correctly?

Thank you.

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners