[Haskell-cafe] Cabal packaging problem - Build-Depends name for Network.Curl.Download?

Brian Troutwine goofyheadedpunk at gmail.com
Thu Oct 30 20:13:10 EDT 2008

Hello all,

I'm having a small bit of trouble using cabal to package a program I'm
calling aule. I cannot build the program using cabal but can compile
it using ghc directly. Here's my aule.config:

Name:                Aule
Version:             0.2.0
Cabal-Version:       >= 1.2
Build-type:          Simple

Author:              Brian L. Troutwine
Maintainer:          goofyheadedpunk at gmail.com
Stability:           alpha

Executable aule
  Build-Depends:        base, network, bytestring, download-curl
  Main-Is:              Main.hs
  Hs-Source-Dirs:       src
  ghc-options:          -Wall -O2

If I decend into src/ the result is as follows.

blt at doritos:~/aule/src
$ ghc -Wall -O2 --make Main.hs
[1 of 1] Compiling Main             ( Main.hs, Main.o )
Linking Main ...

If I attempt to use cabal the result is the following.

blt at doritos:~/aule
$ runhaskell Setup.hs configure --prefix=$HOME
Configuring Aule-0.2.0...
Setup.hs: At least the following dependencies are missing:
download-curl -any

I've attempted variations on the download-curl name, as well. Also,
download-curl was install using the nifty cabal-install tool. I run
Ubuntu 8.04 with ghc 6.8.2.


More information about the Haskell-Cafe mailing list