[Haskell-cafe] Cannot install the Haskell Platform on GNU/Linux (possible Cabal issue)

Brandon Allbery allbery.b at gmail.com
Thu Aug 14 19:35:58 UTC 2014

On Thu, Aug 14, 2014 at 2:48 PM, egarrulo <egarrulo at gmail.com> wrote:

> However, the README says:
>   The machine doing the build needs to have a working Haskell setup:
> Usually,
>   GHC (7.4 or later), Cabal (1.16 or later), and haddock and HsColour must
> be on
>   the $PATH.
> This is what I am trying to do: I have a working installation of the
> old GHC plus the old Platform, and I am using it to build the new
> Platform.  Otherwise, where am I supposed to get Cabal?  AFAIK, Cabal
> comes with the Platform. Am I missing anything?

You need to install a base ghc from haskell.org/ghc, minus the Platform.
HsColour from the old installation can be used as is, since it is a program
and not (used as) a library here. Cabal refers to the Cabal library, which
is part of ghc, *not* cabal-install which is the "cabal" command and which
is part of the Platform. (The library predates cabal-install by the better
part of a decade, hence the unfortunate naming.)

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140814/06fa2a44/attachment.html>

More information about the Haskell-Cafe mailing list