Thanks very much for your help, guys. A later Xcode and a GNU readline did the trick. I ended up following these instructions:

  http://cvs.haskell.org/trac/ghc/ticket/766

(with global redefinitions of LDFLAGS and CPPFLAGS), but Andy's suggestion to re-./configure in libraries/readline with local redefinitions looks more robust.

Cheers, and see you all in Portland!
Jeremy


On 9 Sep 2006, at 22:46, Andy Gill wrote:
Here is how I compile on my (PPC) OSX.


#!/bin/bash -x
export PATH=$PATH:/usr/local/bin
echo $PATH
cd /Users/andy/night
rm -Rf ghc
darcs get --partial http://darcs.haskell.org/ghc
cd ghc
chmod +x darcs-all
./darcs-all --extra get
darcs get --partial http://darcs.haskell.org/testsuite
darcs get --partial http://darcs.haskell.org/nofib
autoreconf
./configure
(cd libraries/readline ; ./configure --with-readline-includes=/opt/ local/include --with-readline-libraries=/opt/local/lib )
make
cd testsuite
make boot
cd tests/ghc-regress
make stage=2


I have a /opt/local/ version of readline, installed with darwinports.


[EMAIL PROTECTED]
  Oxford University Computing Laboratory,    TEL: +44 1865 283508
  Wolfson Building, Parks Road,              FAX: +44 1865 273839
  Oxford OX1 3QD, UK.
  URL: http://www.comlab.ox.ac.uk/oucl/people/jeremy.gibbons.html


_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to