[Haskell-beginners] Build HTTP package error

Emmanuel Touzery etouzery at gmail.com
Sat Dec 22 15:30:16 CET 2012


and ironically this same problem just happened to me right now ;-)
trying to upgrade to GHC 7.6.1 on fedora 17 as I guess you tried too.

I did that and it appears to work fine:
https://github.com/haskell/cabal/issues/1137#issuecomment-11142007

emmanuel


On Wed, Dec 19, 2012 at 3:07 PM, Emmanuel Touzery <etouzery at gmail.com>wrote:

>  looks like there is a bug about this:
> https://github.com/haskell/cabal/issues/1137
>
> seems you need to reinstall cabal or something like that.
>
> emmanuel
>
>
> On 19.12.2012 14:58, Alexander _ wrote:
>
>  Hello,
>
>  I use:
>
>  ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.6.1
>
>  Thank you.
>
>
> 2012/12/19 Emmanuel Touzery <etouzery at gmail.com>
>
>>  One more thing... For my HTTP needs I've been using without problems
>> Network.HTTP.Conduit:
>>
>> http://hackage.haskell.org/packages/archive/http-conduit/1.2.1/doc/html/Network-HTTP-Conduit.html
>>
>>  but I didn't research in which ways these two packages differ.
>>
>> Emmanuel
>>
>>
>> On Wed, Dec 19, 2012 at 8:35 AM, Emmanuel Touzery <etouzery at gmail.com>wrote:
>>
>>>  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 at 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 at haskell.org
>>>> http://www.haskell.org/mailman/listinfo/beginners
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>
>
> _______________________________________________
> Beginners mailing listBeginners at haskell.orghttp://www.haskell.org/mailman/listinfo/beginners
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20121222/b62f738d/attachment.htm>


More information about the Beginners mailing list