I am trying to install Haskell Platform 2014.2.0.0 from a source on Red Hat Enterprise Linux 6.5. I have a functional installation of Haskell Platform 2012.4.0.0 and GHC 7.4.2 from two years ago, as well as the recently installed Haskell Platform 2013.2.0.0 and GHC 7.6.3 from JustHub.
I built GHC 7.8.3 from the source, but it continues to appear with seven errors in the test suite. I do not know if these test failures are harmless or not. (Test failures are not relevant to my question, but they can become significant later.)
I will unpack the original tarball 2014.2.0.0, read README. It says that the way to create this Haskell iteration has a shell script that is called:
./platform.sh $ PATH_TO_GHC_BINDIST_TARBALL
I do not have a binary GHC distribution. As far as I can tell, there is no binary distribution tarball GHC 7.8.3 for any version of Red Hat Enterprise Linux. I have built-in GHC 7.8.3. How do I tell the .sh platform - or whatever is below it - that there is no tarball, and it should just use what's in $ PATH? Alternatively, how do I build an existing GHC 7.8.3 installation so that the .sh platform accepts it?
The built-in GHC does not have the "cabal" command, so the cabal commands in the .sh platform return to $ PATH, which I can configure as one of the other installed versions (2013.2 / 7.6.3 or 2012.4) ./ 7.4.2). It doesn't seem to matter: no one recognizes cabal-sandbox. Both results lead to complaints that I have to run cd hptool; cabal install --only-dependencies ", which I did, more than once. platform.sh never passes this point.
If I run the commands in platform.sh manually, I get "cd hptool; cabal build ', in which the errors are:" cabal-1.16.0.2: first run the "configure" command. ". But there is no" configure "command in the hptool directory.
Now i'm stuck. How can I build the Haskell 2014 platform on RHEL 6?
source share