[Top] [All Lists]

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

Subject: Re: [Haskell-cafe] Problem with cabal install zlib
From: Duncan Coutts
Date: Tue, 22 Dec 2009 20:38:29 +0000
On Mon, 2009-12-21 at 23:08 +0000, 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 pasted we can see that Cabal is only calling hsc2hs
with a single -o flag and yet hsc2hs is complaining that we're passing
it multiple -o flags.


> My output (untouched this time) is as follows:
> Preprocessing library zlib-
> Creating dist/build/Codec/Compression/Zlib (and its parents)
> /usr/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc
> --cflag=-D__GLASGOW_HASKELL__=610 --lflag=-lz
> --cflag=-I/Users/ozgurakgun/.cabal/lib/bytestring- 
> --cflag=-I/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/base-
> --cflag=-I/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/include
>  --lflag=-L/Users/ozgurakgun/.cabal/lib/bytestring- 
> --lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/base-
> --lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/integer-
> --lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/ghc-prim-
>  --lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4 
> --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl -o 
> dist/build/Codec/Compression/Zlib/Stream.hs Codec/Compression/Zlib/Stream.hsc
> Only one output file may be specified

Haskell-Cafe mailing list

<Prev in Thread] Current Thread [Next in Thread>