
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

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?
The i386 machine I use here for building the bindists is running a rather old version of RedHat. I do intend to upgrade it at some point, but it's entirely possible for someone else to build a bindist too. Cheers, Simon

You may try my version built on: maeder@denebola:~> uname -a Linux denebola 2.6.18.8-0.7-bigsmp #1 SMP Tue Oct 2 17:21:08 UTC 2007 i686 i686 i386 GNU/Linux using: gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) http://www.dfki.de/sks/hets/linux/versions/ghc-6.8.2-i386-unknown-linux.tar.... ldd output: linux-gate.so.1 => (0xffffe000) libreadline.so.5 => /lib/libreadline.so.5 (0xb7e91000) libncurses.so.5 => /lib/libncurses.so.5 (0xb7e4a000) libutil.so.1 => /lib/libutil.so.1 (0xb7e46000) libdl.so.2 => /lib/libdl.so.2 (0xb7e42000) libm.so.6 => /lib/libm.so.6 (0xb7e1b000) libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb7de5000) librt.so.1 => /lib/librt.so.1 (0xb7ddc000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7dc5000) libc.so.6 => /lib/libc.so.6 (0xb7c97000) /lib/ld-linux.so.2 (0xb7eef000) HTH Christian Simon Marlow wrote:
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?
The i386 machine I use here for building the bindists is running a rather old version of RedHat. I do intend to upgrade it at some point, but it's entirely possible for someone else to build a bindist too.
Cheers, Simon

On Mon, Jan 07, 2008 at 11:34:08AM +0100, Christian Maeder wrote:
You may try my version built on:
maeder@denebola:~> uname -a Linux denebola 2.6.18.8-0.7-bigsmp #1 SMP Tue Oct 2 17:21:08 UTC 2007 i686 i686 i386 GNU/Linux
using: gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
http://www.dfki.de/sks/hets/linux/versions/ghc-6.8.2-i386-unknown-linux.tar....
Greats, I've put this on the download page. Thanks Ian

Simon Marlow wrote:
The i386 machine I use here for building the bindists is running a rather old version of RedHat. I do intend to upgrade it at some point, but it's entirely possible for someone else to build a bindist too.
I wonder why (all) the (various) buildbots do not produce (tested) bindists. http://hackage.haskell.org/trac/ghc/wiki/BuildBot Christian

On Mon, Jan 07, 2008 at 11:38:21AM +0100, Christian Maeder wrote:
Simon Marlow wrote:
The i386 machine I use here for building the bindists is running a rather old version of RedHat. I do intend to upgrade it at some point, but it's entirely possible for someone else to build a bindist too.
I wonder why (all) the (various) buildbots do not produce (tested) bindists.
Two problems I can think of: It would increase the disk usage: You need another copy of everything that gets installed, plus the tarball of it. We would need a way to publish the bindists that get produced. Currently it's done by a few machines at MSR having passwordless access to www.haskell.org. Thanks Ian

Simon Marlow wrote:
The i386 machine I use here for building the bindists is running a rather old version of RedHat.
Might that be the machine you're using to build the source tarballs, too? That would probably explain http://hackage.haskell.org/trac/ghc/ticket/2020 :-)

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
participants (6)
-
Bryan O'Sullivan
-
Christian Maeder
-
Ian Lynagh
-
Isaac Dupree
-
Simon Marlow
-
Spencer Janssen