[Haskell-cafe] Problem with cabal install zlib

Duncan Coutts duncan.coutts at googlemail.com
Tue Dec 22 15:38:29 EST 2009


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.

Duncan

> My output (untouched this time) is as follows:
> 
> Preprocessing library zlib-0.5.0.0...
> 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-0.9.1.5/ghc-6.10.4/include --cflag=-I/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/base-4.1.0.0/include --cflag=-I/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/include --lflag=-L/Users/ozgurakgun/.cabal/lib/bytestring-0.9.1.5/ghc-6.10.4 --lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/base-4.1.0.0 --lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/integer-0.1.0.1 --lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/ghc-prim-0.1.0.0 --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





More information about the Haskell-Cafe mailing list