[Haskell-cafe] Problem with cabal install zlib

Ozgur Akgun ozgurakgun at gmail.com
Sat Dec 19 04:39:41 EST 2009


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)
/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-3.0.3.1
--lflag=-L/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/syb-0.1.0.1
--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:
zlib-0.5.2.0 failed during the building phase. The exception was:
exit: ExitFailure 1


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

> On Fri, 2009-12-18 at 23:01 +0000, 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 details here. Try running with -v2 or -v3. It should say
> what command it's running.
>
> Duncan
>
>


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


More information about the Haskell-Cafe mailing list