You need to install the C zlib library. Cabal is currently unable to warn about missing C library dependencies, but they manifest as undeclared identifiers in .hsc files when that's the case.
-- Don tphyahoo: > 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? > > [EMAIL > PROTECTED]:~/haskellInstalls/smallInstalls/cabal-install/zlib-0.4.0.4>runghc > Setup.hs configure > Configuring zlib-0.4.0.4... > > [EMAIL > PROTECTED]:~/haskellInstalls/smallInstalls/cabal-install/zlib-0.4.0.4>runghc > Setup.hs build &>out > > [EMAIL > PROTECTED]:~/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 > [EMAIL PROTECTED]:~/haskellInstalls/smallInstalls/cabal-install/zlib-0.4.0.4> > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe