in reply to Re^4: Installing Pugs via CPAN shell (How to call specific ghc version)
in thread Installing Pugs via CPAN shell (How to call specific ghc version)

No, you don't have ~/.ghc/bin prepended to your $PATH. You have it appended instead, which is your original problem. When the systems looks for the "ghc" binary it will find the older install since it comes first in your path. Try this instead:
export PATH=$HOME/.ghc/bin:$PATH
and then try again (without exporting the GHC variable, since it should now find the correct version through the PATH variable).
  • Comment on Re^5: Installing Pugs via CPAN shell (How to call specific ghc version)
  • Download Code