Ticket #284 (new feature request: None)
RPM doesn't support --prefix
| Reported by: | skaller | Owned by: | juhp |
|---|---|---|---|
| Priority: | normal | Milestone: | _|_ |
| Component: | Build System | Version: | None |
| Keywords: | Cc: | sven.panne@…, bos@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | N/A | Blocked By: | |
| Blocking: | Related Tickets: |
Description (last modified by igloo) (diff)
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 :)
Change History
Note: See
TracTickets for help on using
tickets.
