Debian stable not supported?

Yitzchak Gale gale at sefer.org
Mon Sep 22 02:52:57 EDT 2008


The Debian ghc6 package for the stable distribution is currently
back at GHC 6.6 - not surprising given the way stable works at
Debian. There is currently no backport of a more recent GHC to
Debian stable.

I need GHC 6.8 for a project to run on a production server.
That means it will be running Debian stable.

Unfortunately, the so-called "generic" Linux binary distribution
package for GHC 6.8.3 does not work on the current, up-to-date
Debian stable distribution because it is "too old".

In my case, and I suspect for many people, the production server
running stable is on a low-cost hosted VPS. That kind of platform
doesn't have nearly enough memory and disk space to compile GHC.
So even that is not an option.

I know that in the past Haskell was used exclusively for research,
but nowadays shouldn't it be possible to use Haskell also for
production-quality projects?

With help from Igloo and thetallguy on #ghc, for which I am grateful,
I was finally able to get a working GHC 6.8.3 on my production
server, but only after jumping through a lot of hoops.
It involved setting up a Debian-stable-like environment in a
chroot on another computer, building GHC there from source,
and manually moving all of the appropriate files up to the server.

Before I delete that chroot build environment - could it
be useful for making GHC 6.8.3 available to others? If someone
points me in the right direction, perhaps I could create a binary
tarball and/or backport deb. Or at least record somewhere the
basic steps of how to get a recent GHC in this situation.

Thanks
Yitz


More information about the Glasgow-haskell-users mailing list