trouble with Debian package ghc5
Norman Ramsey
nr at eecs.harvard.edu
Tue May 28 14:50:22 EDT 2002
> However, it seems you are right: whenever _some_ ghc package needs
> util, it will implicitly depend on libreadline being installed, even
> if readline is never really linked to.
>
> So, what can be done?
>
> The hot-fix is to install libreadline4-dev.
Done. Works. Thanks.
> I _could_ make readline a hard dependency of ghc, but this is somehow
> not satisfactory. I'd rather like readline to be out-factored to its
> own package (I know, this would break other Haskell programs, but it's
> arguably easy-to-fix breakage...).
>
> Comments?
For a newbie like me, it would be useful to have a `virtual' package
ghc-util for `ghc programs that need util'. This could then require
libreadline4-dev. The key is that something show up in
dpkg --list ghc*
Otherwise the need for libreadline4-dev is not obvious to the amateur.
Norman
More information about the Glasgow-haskell-bugs
mailing list