[Haskell-cafe] Problem with cabal install zlib

Ozgur Akgun ozgurakgun at gmail.com
Mon Dec 21 18:08:33 EST 2009


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 (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
cabal: Error: some packages failed to install:
cabal-install-0.6.4 depends on zlib-0.5.0.0 which failed to install.
zlib-0.5.0.0 failed during the building phase. The exception was:
exit: ExitFailure 1




2009/12/20 Duncan Coutts <duncan.coutts at googlemail.com>

> On Sat, 2009-12-19 at 09:39 +0000, 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 one output file may be specified
>
> Does that really use the character '*' ? That's pretty weird. Max, are
> you getting the same? We'll need some help working out where that '*' is
> coming from.
>
> Duncan
>
>


-- 
Ozgur Akgun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091221/e6fdf806/attachment.html


More information about the Haskell-Cafe mailing list