Downloading zlib-0.5.0.0... --2009-05-27 09:46:11-- http://hackage.haskell.org/packages/archive/zlib/0.5.0.0/zlib-0.5.0.0.tar.gz Resolving hackage.haskell.org... 69.30.63.197 Connecting to hackage.haskell.org|69.30.63.197|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 122533 (120K) [application/x-tar] Saving to: `zlib-0.5.0.0.tar.gz' 100%[=============================================================================================================================================>] 122,533 77.2K/s in 1.5s 2009-05-27 09:46:14 (77.2 KB/s) - `zlib-0.5.0.0.tar.gz' saved [122533/122533] [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... Configuring zlib-0.5.0.0... Preprocessing library zlib-0.5.0.0... ld: cannot find -lgmp linking dist/build/Codec/Compression/Zlib/Stream_hsc_make.o failed command was: /usr/bin/gcc -lz -L/usr/pkg/lib/ghc-6.8.3/lib/bytestring-0.9.0.1.1 -L/usr/pkg/lib/ghc-6.8.3/lib/array-0.1.0.0 -L/usr/pkg/lib/ghc-6.8.3/lib/base-3.0.2.0 -L/usr/pkg/lib/ghc -6.8.3 -lm -lgmp -lrt dist/build/Codec/Compression/Zlib/Stream_hsc_make.o -o dist/build/Codec/Compression/Zlib/Stream_hsc_make Error during cabal-install bootstrap: Building the zlib package failed