Cool C libraries we could have on hackage server

Erik de Castro Lopo mle+hs at mega-nerd.com
Thu Jun 4 20:03:31 EDT 2009


Maurí­cio wrote:

> There are many libraries we probably would like to have bindings
> for, but we need to have them on hackage to do that.

I really don't think that is true.

Just to pick one that I am aware of:

    http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsndfile

This relies on libsndfile and was successfully built on the
hackage server.

> What if we
> generate a wish list of really trusted and important libraries
> we would like to use, and then test if they build on hackage,
> and install in /usr/local those that do?

Thats probably a really bad idea on Debian or Debian derived
distributions, where Haskell bindings to these libraries should
really link against the versions of the libraries installed by
the package manager.

On Linux (probably true for Unix in general), Haskell bindings to
C libraries should use pkg-config in the build process to find the
location of the required libraries and headers.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the Libraries mailing list