I have a Haskell program that I want to run on my school's cluster, but their version of GHC is too old and they won't update it. I want to somehow package it with my source code, but by default it requires running an install script. Is there a way for me to get an up-to-date Haskell compiler executable that will still work if I send it to another machine?
I could just cross-compile my code locally and send the executable over, but I'd rather it be buildable on the cluster itself.
makein my source directory, but this is a step up! – Matthew Piziak Sep 28 '12 at 00:30chmodon the executable? – Matthew Piziak Sep 28 '12 at 02:23chmod -R o+rX /home/user/bin/ghc-7.6.1. Of course /home/user/bin also needs to be readable. You'll probably want to adjust your cabal preferences to install libraries to the global db by default as well, since the "global db" is actually local to each ghc install. Then when you install a package to your local ghc's global db, everyone else using your ghc will have access also. – Sep 28 '12 at 04:42setfaclor similar to make/home/user/bin/ghc-7.6.1default new subfolders and files to globally readable. Or not, depending on your personal privacy/security preferences. – Sep 28 '12 at 04:46