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

---------- Forwarded message ----------
From: Judah Jacobson <[EMAIL PROTECTED]>
Date: Dec 21, 2007 2:12 PM
Subject: Re: [Haskell-cafe] Re: ANNOUNCE: GHC version 6.8.2
To: John Dorsey <[EMAIL PROTECTED]>


On Dec 21, 2007 12:48 PM, John Dorsey <[EMAIL PROTECTED]> 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
--with-readline-includes=/opt/local/include
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?

Best,
-Judah
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to