Problems with Cabal
duncan.coutts at worc.ox.ac.uk
Mon Jan 29 17:19:18 EST 2007
On Mon, 2007-01-29 at 13:49 -0200, Marco Túlio Gontijo e Silva wrote:
> I'm having some problems with cabal. I don't know if here is the better
> place to ask, in http://www.haskell.org/cabal/ sais to ask here.
> There are two things. One of them is simpler, and it's in haskell-cafe.
> Shouldn't include-dirs: . be default?
No, because the include dirs get used by all the dependent packages so
that'd effectively mean compiling everything with -I . all the time
which isn't what we want.
> The other is about setup clean. It's leaving some things behind. The
> dist directory is not removed, and is kept empty. Other files that are
> not removed are the c2hs generated files .h and .chi. Is this a bug?
Yes it's a bug. Cabal's c2hs support is very immature. Patches welcome.
More information about the Libraries