I would like to install the latest release of the Haskell platform on Debian wheezy. By executing
sudo apt-get install haskell-platform
I get ghc
version 7.4.1 (released in 2012) whereas the current version is 7.8.3.
So I have downloaded the current ghc
version source and built it: everything went fine and I can now execute ghc
.
I then downloaded the source distribution of the Haskell platform from here and in the README
file I find the instructions
REQUIREMENTS FOR BUILDING
You need the platform build files, either from the source repo or the source tarball. Build instructions are the same for either.
You need a GHC bindist that matches the OS you are compiling on. It must also match the GHC version used by the platform, currently 7.8.3. You can get this from: http://www.haskell.org/ghc/download_ghc_7_8_3
I actually do not want to use this, I would like to use the ghc
I have just built because, in the ghc documentation I read:
NOTE: If you have too old a version of libc, then you will get an error like "floating point exception" from the binaries in these bindists. You will need to either upgrade your libc (we're not sure what the minimum version required is), or use a binary package built for your distribution instead.
So, in order to be sure, I would prefer to use my build. But, the README
that
comes with haskell-platform-2014.2.0.0
does not say anything about such an option.
The only option that it offers is to run:
./platform.sh $PATH_TO_GHC_BINDIST_TARBALL
So: is there a way to build the Haskell platform using a ghc
binary that I have built
locally?