Please help to solve a problem installing curl package (http://hackage.haskell.org/package/curl/) on Debian 6.0.5.
I am running the most recent Debian Haskell platform with GHC 6.12.1.
I did:
-> cabal update
-> cabal install cabal-install

It is interesting that in case you do again 'cabal update" you again get a suggestion from cabal to upgrade cabal-install, and this process never ends:
"""
-> cabal update
Downloading the latest package list from hackage.haskell.org
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install
"""
Anyway, then I did:
-> apt-get install curl
-> cabal install curl
Cabal fails to install 'curl' because it can not find curl library. Please see detailed cabal output at the end of this message.
So my questions:
1) What is missing to install curl package?
2) Should I upgrade Debian GHC 6.12.1 to the latest GHC 7.4.2? Maybe this should solve the problem with 'cabal install'?

Thanks!
---------- cabal install output ----------
-> cabal install curl
Resolving dependencies...
Configuring curl-1.3.7...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
configure: error: curl libraries not found, so curl package cannot be built
See `config.log' for more details.
cabal: Error: some packages failed to install:
curl-1.3.7 failed during the configure step. The exception was:
ExitFailure 1