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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wolfgang Jeltsch
Sent: den 18 november 2008 11:01
To: haskell-cafe@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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to