[Haskell-cafe] Problem with cabal install zlib
Duncan Coutts
duncan.coutts at googlemail.com
Sun Dec 20 08:30:39 EST 2009
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 --cflag=-I/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/bytestring-0.9.1.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/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/bytestring-0.9.1.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
Ok so you don't seem to get the weird '*' character, but it's still not
obvious why we're getting that message. There does not appear to be
multiple output files specified.
According to the hsc2hs code it only accepts -o and --output flags as
specifying outputs.
> And I'm getting the same with unix-compat-0.1.2.1:
> and with haskeline:
> So I guess the issue is with everything that is using hsc2hs?
Looks that way.
Duncan
More information about the Haskell-Cafe
mailing list