Bug with in-place installation on Mac OS X
Jean-Marie Gaillourdet
jmg at informatik.uni-kl.de
Fri Dec 15 03:58:35 EST 2006
Hi,
I have two bugs to report. The second occured when I tried to report
the first one via Trac. I followed the link in chapter 1.2 of ghc
latest user-guide and came to a page stating that I should login with
username guest and password guest. The login did not work for me with
Safari and Camino (Mozilla.org's Mac browser). guest seems not to be
a valid username and password.
But now to the first problem. I would like to install ghc-6.6 as
downloaded from http://haskell.org/ghc/dist/6.6/ghc-6.6-i386-apple-
darwin.tar.bz2 in /opt/ghc-6.6.
Here are the steps I did:
$ cd /opt
$ tar xjvf ~/Desktop/ghc-6.6-i386-apple-darwin.tar.bz2
$ cd ghc-6.6
$ ./configure
$ make in-place
$ cd
$ export PATH=$PATH:/opt/ghc-6.6/bin/i386-apple-darwin/
$ ghc
/opt/ghc-6.6/bin/i386-apple-darwin/ghc: line 12: /usr/local/lib/
ghc-6.6/ghc-6.6: No such file or directory
/opt/ghc-6.6/bin/i386-apple-darwin/ghc: line 12: exec: /usr/local/lib/
ghc-6.6/ghc-6.6: cannot execute: No such file or directory
$ which ghc
/opt/ghc-6.6/bin/i386-apple-darwin/ghc
$ cat /opt/ghc-6.6/bin/i386-apple-darwin/ghc
#! /bin/sh
bindir='/opt/ghc-6.6/bin/i386-apple-darwin'
libdir='/opt/ghc-6.6/lib/i386-apple-darwin'
libexecdir='/opt/ghc-6.6/lib/i386-apple-darwin'
datadir='/opt/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 GHC
exec $GHCBIN $TOPDIROPT ${1+"$@"}
The INSTALL file says I should run ./configure without any prefix I
want to do an in-place installation. So I would say one or the other
is wrong.
Thanks for your great work on ghc!
Best regards,
Jean-Marie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20061215/1c7b382d/PGP.bin
More information about the Glasgow-haskell-bugs
mailing list