
goofyheadedpunk:
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@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@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@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.
Probably because download-curl is installed as "user", so: $ runhaskell Setup.hs configure --prefix=$HOME --user OR: $ cabal install