Hackage rocks

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Aug 6 07:35:17 EDT 2007


On Sat, 2007-08-04 at 22:32 +0200, Henning Thielemann wrote:
> On Mon, 30 Jul 2007, Duncan Coutts wrote:
> 
> >      * inability to automatically find/generate dependencies on
> >        external packages like C libraries. Many packages that use FFI
> >        need to link to non-standard C libs and it's not always obvious
> >        what packages they need. Of course, specifying external libs is
> >        not simple since different platforms often call them different
> >        things, but perhaps we could have some non-binding hint fields.
> >        Or perhaps we should just try and guess based on the names of
> >        the libs that need to be linked to (though that doesn't cover
> >        deps on other programs rather than C libs).
> 
> How about asking the distribution specific package manager program to 
> which package the library file belongs? However, this requires that the 
> dependent package is installed on the packaging machine.

Yes, for C libraries it's a pretty good hint. It doesn't help us with
dependencies on programs or non-C libs however.

Duncan



More information about the cabal-devel mailing list