runghc, runhaskell invoke wrong ghc when not first ghc in PATH
In the 6.6.1 RC (source code) snapshot 6.6.20070415. I installed with "./configure --prefix=/home/isaac/install/ghc-6.6.20070415; make; make install"
(at the time of configuring, /home/isaac/install existed but not the subdirectory ghc-6.6.20070415)
I was using the system ghc-6.6 to build it, installed via the ubuntu distro mechanism.
All went well (so far) after make install, except that the runghc and runhaskell executables installed in /home/isaac/install/ghc-6.6.20070415/bin/ invoke the system version of ghc (outputting "ghc-6.6: not built for interactive use", since that is how the ghc in my distro's packages is built) (the rest of the executables, including symlinks, in /home/isaac/install/ghc-6.6.20070415/bin/, are fine)
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.6 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | Unknown |