GHC Hackathon
Andy Gill
andy at galois.com
Sat Sep 9 17:46:32 EDT 2006
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.
On Sep 9, 2006, at 1:56 PM, Malcolm Wallace wrote:
> Jeremy Gibbons <Jeremy.Gibbons at comlab.ox.ac.uk> writes:
>
>> - so why is it
>> looking in /usr/local/{lib,share}/ghc-6.4.2 ? There are no such
>> directories...
>
> My copy of ghc does the same (looks in /usr/local/...), but as with
> yours, the message "(ignoring)" tells you all you need to know -
> this is
> not a fatal error.
>
>> Readline.hsc: In function 'main':
>> Readline.hsc:677: error: 'UNDO_DELETE' undeclared (first use in this
>
> The actual error here I suspect is that the libreadline supplied by
> Apple is not GNU readline, but a symlink to an incompatible
> alternative,
> libedit.
>
> One idea is to install the real readline. (using e.g. darwinports
> or fink)
>
> Another idea is to disable the build of the ghc readline package (and
> consequently ghci as well).
>
> Regards,
> Malcolm
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list