I should add that I was able to work around the issue by using Michael 
Snoyman's http-wget [1] package. It uses the command-line version of wget, 
which does work on my machine.

-chris

[1]: http://hackage.haskell.org/package/http-wget

On 7 feb 2010, at 16:50, Chris Eidhof wrote:

> Thanks. Unfortunately, it didn't help. The thing that frustrates me is that 
> it's quite hard to debug. I guess I'll upgrade my GHC to 6.12, hopefully 
> that'll solve it.
> 
> -chris
> 
> On 7 feb 2010, at 16:07, Yusaku Hashimoto wrote:
> 
>> Hello,
>> 
>> On Sat, Feb 6, 2010 at 2:51 AM, Chris Eidhof <ch...@eidhof.nl> wrote:
>>> Approach 3: I used the simpleHTTP function from the HTTP package. This 
>>> crashed, after I dug a little deeper into the code, it threw an error on 
>>> calling the parseURI function (openFile: no such file exists). I installed 
>>> the latest network package and upgraded my HTTP package, and the parseURI 
>>> error went away. I felt like I was almost there, and tried the following:
>>> 
>>>> simpleHTTP (getRequest "http://haskell.org";)
>>> 
>>> This failed with just the text "Bus error". I searched the HTTPBis git 
>>> repository, but couldn't find the text "Bus error". I don't have a clue of 
>>> how to fix this.
>> 
>> Try reinstall network package with `cabal install --reinstall
>> --hsc2hs-options="--cflag=-m32 --lflag=-m32"`.
>> 
>> See also: http://hackage.haskell.org/trac/ghc/ticket/3681
>> 
>> Hope this helps.
>> --nwn
> 
> _______________________________________________
> 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

Reply via email to