wish for more-usable bindist
Spencer Janssen
sjanssen at cse.unl.edu
Mon Jan 7 15:27:04 EST 2008
On Fri, Jan 04, 2008 at 08:24:32PM -0500, Isaac Dupree wrote:
> the i386 linux ghc bindist still uses readline 4
> <http://haskell.org/ghc/download_ghc_682.html>, which is hard to get:
> readline 5.0 came out almost three and a half years ago
> <ftp://ftp.cwru.edu/pub/bash/>
>
> And I don't want to pollute my Ubuntu system with "compatibility RPMs"; in
> fact I intend to install the bindist as my local user so I don't pollute it
> with extra GHCs either, except I can't. Could there be a bindist with
> modern readline, or perhaps is it possible to statically link with
> readline?
>
> ~Isaac
Here's a little trick I picked up from Stefan O'Rear:
sed -e 's/readline.so.4/readline.so.5' --in-place ~/lib/ghc-6.8.2/ghc-6.8.2
Surprisingly, this produces a working GHC.
Cheers,
Spencer Janssen
More information about the Glasgow-haskell-users
mailing list