I've tried installing ghc 6.0 on Solaris under /opt/ghc.  The files that get created 
include a bunch with references to Hal Daume's home directory (e.g., 
/opt/ghc/bin/ghci-6.0 needed to be changed).  I don't know if I've found all of the 
changes I need to make, but when I type
        ghci
at the UNIX prompt, I get back
        ghci:  /opt/ghc/ghci-6.0:  cannot execute

I did an ls -l to make sure I had execute permission.  Here's what the file says, 
after my changes:

#! /bin/sh
bindir='/opt/ghc/bin'
libdir='/opt/ghc/lib/ghc-6.0'
libexecdir='/opt/ghc/lib/ghc-6.0'
datadir='/opt/ghc/share/ghc-6.0'
SED='/usr/bin/sed'
DEFAULT_TMPDIR='/tmp'
#!/bin/sh
GHCBIN="/opt/ghc";
TOPDIROPT="-B/opt/ghc";
# Mini-driver for GHC
exec $GHCBIN $TOPDIROPT ${1+"$@"}

Here's how it looked prior to my changes, when it had the references to Hal Daume's 
personal directories on his machine at some other institution:

#! /bin/sh
bindir='/opt/ghc/bin'
libdir='/opt/ghc/lib/ghc-6.0'
libexecdir='/opt/ghc/lib/ghc-6.0'
datadir='/opt/ghc/share/ghc-6.0'
SED='/usr/bin/sed'
DEFAULT_TMPDIR='/tmp'
#!/bin/sh
GHCBIN="/nfs/moussor/hdaume/lib/ghc-6.0/ghc-6.0";
TOPDIROPT="-B/nfs/moussor/hdaume/lib/ghc-6.0";
# Mini-driver for GHC
exec $GHCBIN $TOPDIROPT ${1+"$@"}

I don't think I forgot any changes, and I'm not sure why it refuses to run.

Any ideas?

--Jack Stecher
[EMAIL PROTECTED]

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to