[Haskell-cafe] zlib, missing zlib.h

Tony Morris tmorris at tmorris.net
Fri May 30 04:58:08 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

apt-get install zlib1g-dev

Tony Morris
http://tmorris.net/

Real-world problems are simply degenerate cases of pure mathematical
problems.



Thomas Hartman wrote:
> 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>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIP8GgmnpgrYe6r60RAjGGAKDCpiIE9IGv5Madf2jMhEZCDuuEhgCdGljK
ztH9XwTczFX7ABBrh3TuT8I=
=jR/y
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list