bundled libraries in ghc
Jens Petersen
petersen at fedoraproject.org
Tue Sep 3 11:14:36 CEST 2013
Hi,
I have been doing some test builds of ghc-7.7 recently. Since ghc gets
built now with dynamic linking by default, the bundled linked libraries
that ghc does not ship are more visible now: this is not really a new
problem per se just that now with shared libraries by default it is more
obvious!
The libraries in question here are haskeline, terminfo, and xhtml. Putting
the technical issue of installing both these bundled shared libraries and
their corresponding system packages aside for now, the situation is at best
uncomfortable for distros like Fedora which do not allow bundled copies of
libraries in packages. [1]
So my suggestion would be actually to ship the 3 libraries in ghc-7.8.
xhtml is of course already part of Haskell Platform but hopefully that need
not be a big problem. Whether the other two should be
formally added to HP or not may be an open question but I don't see that it
need block their inclusion in ghc's manifest.
Besides I am anyway not really sure how to handle having both those 3
shared libraries installed for runtime ghc along with the same versions of
the corresponding packages?
Jens
ps BTW it is really nice to see that the bundled tarballs for Windows have
been moved to a separate source tarball. :-)
[1] https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20130903/9be4c66b/attachment.htm>
More information about the Glasgow-haskell-users
mailing list