bundled libraries in ghc

2013-09-03 Thread Jens Petersen
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
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: bundled libraries in ghc

2013-09-03 Thread Stephen Paul Weber

Somebody claiming to be Jens Petersen wrote:

The libraries in question here are haskeline, terminfo, and xhtml.


Are those libraries needed by GHCI?  Could we just statically link those 
ones into GHC?


--
Stephen Paul Weber, @singpolyma
See http://singpolyma.net for how I prefer to be contacted
edition right joseph


signature.asc
Description: Digital signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users