Bugs item #1084122, was opened at 2004-12-13 01:54
Message generated for change (Comment added) made by skaller
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1084122&group_id=8032
Category: Build System
Group: 6.2.2
Status: Closed
Resolution: None
Priority: 5
Submitted By: John Skaller (skaller)
Assigned to: Nobody/Anonymous (nobody)
Summary: minor bug in rpm (x86 linux)
Initial Comment:
After installing ghc for linux using rpm with
--prefix=/usr/local,
the ghc scriipt incorrectly thinks the libraries etc
are in /usr:
#!/bin/sh
GHCBIN="/usr/lib/ghc-6.2.2/ghc-6.2.2";
TOPDIROPT="-B/usr/lib/ghc-6.2.2";
# Mini-driver for GHC
exec $GHCBIN $TOPDIROPT ${1+"$@"}
After editing, at least the compiler actually starts up :)
----------------------------------------------------------------------
>Comment By: John Skaller (skaller)
Date: 2004-12-13 14:54
Message:
Logged In: YES
user_id=5394
I can see it isn't supported :)
However after the change to those two lines, the compiler
works, links libraries, and the resultant binary executes
correctly
(as far as I can tell never having written any Haskell
before .. :)
So why not support it? I had no choice .. my root partition,
containing /usr is 97% full.. :)
----------------------------------------------------------------------
Comment By: Simon Marlow (simonmar)
Date: 2004-12-13 12:54
Message:
Logged In: YES
user_id=48280
You're trying to install the binary RPM using a different
prefix? That's not supported, I'm afraid.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1084122&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs