Can't install on intel mac
Mac Intel (Tiger) installation from the binary package failed.
I downloaded http://haskell.org/ghc/dist/6.6/ghc-6.6-i386-apple-darwin.tar.bz2 and moved the directory ghc6.6 under /Applications. I then tried a few combinations of
- /configure and make, none of which worked, apparently because there is no /usr/local/lib.
(caveat: I'm not a UNIX guru, I only have the vaguest idea what's going on here.)
I tried ./configure (with no prefix) and then make install; when that failed for lack of /usr/local/lib, I tried make in-place.
That apparently succeeded and told me to put /Applications/ghc-6.6/bin/i386-apple-darwin in my PATH. I haven't yet looked up where the plist file is that sets my PATH, but I just tried /Applications/ghc-6.6/bin/i386-apple-darwin/ghci, and that failed for lack of /usr/local/lib/ghc-6.6/ghc-6.6.
The ghci script being executed is apparently:
{{{
#! /bin/sh
bindir='/Applications/ghc-6.6/bin/i386-apple-darwin'
libdir='/Applications/ghc-6.6/lib/i386-apple-darwin'
libexecdir='/Applications/ghc-6.6/lib/i386-apple-darwin'
datadir='/Applications/ghc-6.6/share'
SED='/usr/bin/sed'
DEFAULT_TMPDIR='/tmp'
#!/bin/sh
GHCBIN="/usr/local/lib/ghc-6.6/ghc-6.6";
TOPDIROPT="-B/usr/local/lib/ghc-6.6";
# Mini-driver for GHCi
exec $GHCBIN $TOPDIROPT --interactive {1+"
@"}
}}}
I tried ./configure --prefix /Applications/ghc6.6 and then make in-place, and got the same results.
Jon