[Haskell-cafe] GHC 6.10.1 and cabal[-install]

Tobias Bexelius tobias.bexelius at avalanchestudios.se
Tue Nov 18 06:12:20 EST 2008


Hi,

I used the cabal-install on hackage:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cabal-install

In order to install it you will need these two packages first:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HTTP-3001.1.4
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zlib-0.5.0.0


For each package (starting with the last two of course), run:

> runghc Setup configure
> runghc Setup build
> runghc Setup install

Once its all done, you can instead use

>cabal install x

to install package x, and don't need to care about dependencies anymore. And theres nothing else you need to do in order to integrate it with ghc either...
 
/Tobias

-----Original Message-----
From: haskell-cafe-bounces at haskell.org [mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Wolfgang Jeltsch
Sent: den 18 november 2008 11:01
To: haskell-cafe at haskell.org
Subject: [Haskell-cafe] GHC 6.10.1 and cabal[-install]

Hello,

I installed GHC 6.10.1 today and expected it to contain the cabal command line utility.  Unfortunately, this was not the case.  Where can I download it?  
How do I install and configure it so that it is integrated best with GHC 6.10.1?  For example, should cabal use some directory in the GHC tree to place compiled packages in?

<http://hackage.haskell.org/> still links to cabal-install for a convenient way for installing packages.  I thought that cabal-install is outdated.  
Isn't it?  Generally, Cabal info and documentation ist too hard to find on the web, in my opinion.

Best wishes,
Wolfgang
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list