[Haskell-cafe] zlib, missing zlib.h

Thomas Hartman tphyahoo at gmail.com
Thu May 29 18:51:56 EDT 2008


Tried to install

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zlib

which is required for

http://darcs.haskell.org/cabal-branches/cabal-1.4

which is required for cabal-install.

Got the following error. apt-get installed zlibc on a stab in the
dark, but same result. advice?

thartman at thartman-laptop:~/haskellInstalls/smallInstalls/cabal-install/zlib-0.4.0.4>runghc
Setup.hs configure
Configuring zlib-0.4.0.4...

thartman at thartman-laptop:~/haskellInstalls/smallInstalls/cabal-install/zlib-0.4.0.4>runghc
Setup.hs build &>out

thartman at thartman-laptop:~/haskellInstalls/smallInstalls/cabal-install/zlib-0.4.0.4>head
out
Preprocessing library zlib-0.4.0.4...

Stream.hsc:74:18:  error: zlib.h: No such file or directory
Stream.hsc: In function 'main':

Stream.hsc:254:0:
     error: 'z_stream' undeclared (first use in this function)

Stream.hsc:254:0:
     error: (Each undeclared identifier is reported only once
thartman at thartman-laptop:~/haskellInstalls/smallInstalls/cabal-install/zlib-0.4.0.4>


More information about the Haskell-Cafe mailing list