Re: [Haskell-cafe] Problem with cabal install zlib

2010-01-07 Thread Ozgur Akgun
Oh! I was pretty sure that I made these patches correctly. But guess what, the added flags to hsc2hs are different from the others. And I did a bling copy/paste. Thanks for reminding it Gregory. Best, 2010/1/6 Gregory Collins g...@gregorycollins.net Ozgur Akgun ozgurak...@gmail.com writes:

Re: [Haskell-cafe] Problem with cabal install zlib

2010-01-06 Thread Ozgur Akgun
Just to check, anyone running Snow Leopard and *CAN* install zlib-0.5.2.0 using cabal install zlib? I'm trying to make sure whether I am the only one having this problem or I have some companion. Best, 2009/12/22 Duncan Coutts duncan.cou...@googlemail.com On Tue, 2009-12-22 at 21:48 +,

Re: [Haskell-cafe] Problem with cabal install zlib

2010-01-06 Thread Gregory Collins
Ozgur Akgun ozgurak...@gmail.com writes: Just to check, anyone running Snow Leopard and *CAN* install zlib-0.5.2.0 using cabal install zlib? I'm trying to make sure whether I am the only one having this problem or I have some companion. $ cabal install --reinstall zlib Resolving

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-22 Thread Tom Tobin
On Mon, Dec 21, 2009 at 5:08 PM, Ozgur Akgun ozgurak...@gmail.com wrote: Oh sorry for that character. I wanted to make that part underlined in gmail which uses (i guess) *'s to denote it. Just to emphasise the problematic part. Yikes — I just checked what Gmail sends as the plain-text

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-22 Thread Ozgur Akgun
That's verrry correct. Sorry for the confusion again. Any more suggestions by the way? 2009/12/22 Tom Tobin korp...@korpios.com On Mon, Dec 21, 2009 at 5:08 PM, Ozgur Akgun ozgurak...@gmail.com wrote: Oh sorry for that character. I wanted to make that part underlined in gmail which uses

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-22 Thread Duncan Coutts
On Mon, 2009-12-21 at 23:08 +, Ozgur Akgun wrote: So what's the recommended thing to do now? Please file a ticket in the ghc trac with as much detail as is necessary for someone else to reproduce this. Given what we have at the moment I cannot see the cause of the problem. From what you've

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-22 Thread Ozgur Akgun
What about this part: -o dist/build/Codec/Compression/ Zlib/Stream.hs Codec/Compression/Zlib/Stream.hsc Isn't it passing multiple (two in this case) output parameters? Or am I missing sth? 2009/12/22 Duncan Coutts duncan.cou...@googlemail.com On Mon, 2009-12-21 at 23:08 +, Ozgur Akgun

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-22 Thread Duncan Coutts
On Tue, 2009-12-22 at 21:48 +, Ozgur Akgun wrote: What about this part: -o dist/build/Codec/Compression/ Zlib/Stream.hs Codec/Compression/Zlib/Stream.hsc Isn't it passing multiple (two in this case) output parameters? Or am I missing sth? No, that's one -o flag and a single

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-21 Thread Ozgur Akgun
Oh sorry for that character. I wanted to make that part *underlined* in gmail which uses (i guess) *'s to denote it. Just to emphasise the problematic part. And I was traveling for the last 2 days and I couldn't respond to your mail. So what's the recommended thing to do now? My output

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-20 Thread Sjoerd Visscher
I have the same issue with zlib: /usr/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --lflag=-lz --cflag=-I/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/bytestring-0.9.1.4/include

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-20 Thread Duncan Coutts
On Sun, 2009-12-20 at 11:17 +0100, Sjoerd Visscher wrote: I have the same issue with zlib: /usr/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --lflag=-lz

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-19 Thread Duncan Coutts
On Fri, 2009-12-18 at 23:01 +, Ozgur Akgun wrote: Hi, When I run cabal install zlib or cabal upgrade zlib I get the following error: Resolving dependencies... Configuring zlib-0.5.2.0... Preprocessing library zlib-0.5.2.0... Only one output file may be specified We'll need more

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-19 Thread Ozgur Akgun
Thanks for the feedback. I guess the following part is the problematic part: (But I've no idea how to resolve it) Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library zlib-0.5.2.0... Creating dist/build/Codec/Compression/Zlib (and its parents)

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-19 Thread Max Cantor
I actually ran into this problem last night. Here's my workaround (note that it involves downgrading to zlib-0.5.0.0 1) unregister the zlib-0.5.2.0 package (prompt ghc-pkg unregister zlib-0.5.2.0) 2) rebuild and install cabal-install: prompt tar -zxvf

Re: [Haskell-cafe] Problem with cabal install zlib

2009-12-19 Thread Duncan Coutts
On Sat, 2009-12-19 at 09:39 +, Ozgur Akgun wrote: I guess the following part is the problematic part: (But I've no idea how to resolve it) [..] --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl *-o dist/build/Codec/Compression/Zlib/Stream.hs Codec/Compression/Zlib/Stream.hsc* Only

[Haskell-cafe] Problem with cabal install zlib

2009-12-18 Thread Ozgur Akgun
Hi, When I run cabal install zlib or cabal upgrade zlib I get the following error: Resolving dependencies... Configuring zlib-0.5.2.0... Preprocessing library zlib-0.5.2.0... Only one output file may be specified cabal: Error: some packages failed to install: zlib-0.5.2.0 failed during the