Re: [Haskell-cafe] zlib, missing zlib.h

2008-05-30 Thread Tony Morris
-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

[Haskell-cafe] zlib, missing zlib.h

2008-05-29 Thread Thomas Hartman
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?

Re: [Haskell-cafe] zlib, missing zlib.h

2008-05-29 Thread Don Stewart
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

Re: [Haskell-cafe] zlib, missing zlib.h

2008-05-29 Thread Marc Weber
On Thu, May 29, 2008 at 03:51:56PM -0700, Thomas Hartman wrote: echoextra-lib-dirs: ${zlib}/lib zlib.cabal echoinclude-dirs: ${zlib}/include zlib.cabal''; Try patching the cabal file using something like that. Marc ___ Haskell-Cafe

Re: [Haskell-cafe] zlib, missing zlib.h

2008-05-29 Thread Duncan Coutts
On Fri, 2008-05-30 at 01:10 +0200, Marc Weber wrote: On Thu, May 29, 2008 at 03:51:56PM -0700, Thomas Hartman wrote: echoextra-lib-dirs: ${zlib}/lib zlib.cabal echoinclude-dirs: ${zlib}/include zlib.cabal''; Try patching the cabal file using something like that. Actually