[Haskell-cafe] Re: ANNOUNCE: GHC version 6.8.2

Judah Jacobson judah.jacobson at gmail.com
Fri Dec 21 23:14:50 EST 2007

I neglected to CC the below email to haskell-cafe; apologies if anyone
gets this twice.

---------- Forwarded message ----------
From: Judah Jacobson <judah.jacobson at gmail.com>
Date: Dec 21, 2007 2:12 PM
Subject: Re: [Haskell-cafe] Re: ANNOUNCE: GHC version 6.8.2
To: John Dorsey <haskell at colquitt.org>

On Dec 21, 2007 12:48 PM, John Dorsey <haskell at colquitt.org> wrote:
> On a related topic, I've been trying to build 6.8.2 on Leopard lately.
> I've been running up against the infamous OS X readline issues.  I know
> some builders here have hacked past it, but I'm looking for a good
> workaround... ideally one that works without changes outside the GHC
> build area (besides installing a real readline).
> Here's what I noticed before I started drowning in the build platform.
> (I'm no gnu-configure expert nor GHC insider.)
> I can get gnu-readline installed from Macports, no problem.
> The top-level configure in GHC doesn't respond to my various attempts:
> o  using --with-readline-libraries and --with-readline-includes
>         (Although it looks like the libraries/readline/configure script
>         might recognize these, I can't get an option to pass through.)

Actually, this is supposed to work.  When running the top-level ghc
configure, you should be able to just say
./configure --with-readline-libraries=/opt/local/lib
and have those arguments automatically passed to the readline configure script.

I just checked that this works on my machine (Tiger x86) when building
6.8.2 against MacPorts' readline.  If it doesn't work for you, what
errors are you getting?

Also, a couple of other generic questions:
- Are you on x86 or PPC?  (The latter is not working right yet with Leopard.)
- How are you bootstrapping the build of 6.8.2: are you using a
pre-built binary of ghc-6.8.1, or some other way?


More information about the Haskell-Cafe mailing list