
Dear all, I have downloaded cabal and am trying to install it but have gotten the following error message: C:\cabal\cabal-install-0.5.1>runghc Setup configure Configuring cabal-install-0.5.1... Setup: At least the following dependencies are missing Cabal >=1.4&&<1.5, HTTP >=3000&&<3002, zlib >=0.4 I'm not sure from this message what packages I need to install to get cabal up and running. Can anyone help? Eric M.

eeoam:
Dear all,
I have downloaded cabal and am trying to install it but have gotten the following error message:
C:\cabal\cabal-install-0.5.1>runghc Setup configure Configuring cabal-install-0.5.1... Setup: At least the following dependencies are missing Cabal >=1.4&&<1.5, HTTP >=3000&&<3002, zlib >=0.4
I'm not sure from this message what packages I need to install to get cabal up and running. Can anyone help?
All Haskell packages of good repute live on hackage.haskell.org. http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Cabal http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HTTP http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zlib

Hello Eric. Em Qui, 2008-07-10 às 19:00 +0100, Eric escreveu:
C:\cabal\cabal-install-0.5.1>runghc Setup configure Configuring cabal-install-0.5.1... Setup: At least the following dependencies are missing Cabal >=1.4&&<1.5, HTTP >=3000&&<3002, zlib >=0.4
I'm not sure from this message what packages I need to install to get cabal up and running. Can anyone help?
You can get these listed packages (Cabal, HTTP and zlib) in Hackage ( http://hackage.haskell.org/ ). Greetings. -- Marco Túlio Gontijo e Silva Página: http://marcotmarcot.googlepages.com/ Blog: http://marcotmarcot.blogspot.com/ Correio: marcot@riseup.net XMPP: marcot@jabber.org IRC: marcot@irc.freenode.net Telefone: 25151920 Celular: 98116720 Endereço: Rua Turfa, 639/701 Prado 30410-370 Belo Horizonte/MG Brasil

On 2008 Jul 10, at 14:00, Eric wrote:
I have downloaded cabal and am trying to install it but have gotten the following error message:
C:\cabal\cabal-install-0.5.1>runghc Setup configure
Cabal itself is a special case; you need the same version of Cabal already installed to install it via Cabal... Just run "make" to bootstrap it, IIRC. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

Brandon S. Allbery KF8NH wrote:
I have downloaded cabal and am trying to install it but have gotten the following error message:
C:\cabal\cabal-install-0.5.1>runghc Setup configure
Cabal itself is a special case; you need the same version of Cabal already installed to install it via Cabal...
Just run "make" to bootstrap it, IIRC.
Cabal managed to bootstrap just fine when installed with runhaskell Setup.hs ... as usual on my windows machine. (and running make would have been a problem). But to install cabal-install (the command line interface), you have to install cabal (the library) first. I assume that in the future, ghc will include cabal-install? Until then, it would be nice to have some ad-hoc solution to add cabal-install to a fresh installation of ghc (e.g. a tarball containing cabal-install and it's dependencies and a build script, or a script which downloads said dependencies). Currently, people have to learn dependency chasing and manual hackage/cabal installation just to install cabal-install, which does a great job at making this skill useless. Apropos cabal-install: can i make it build documentation during the installation process and store them in some central location? Tillmann

Henning Thielemann wrote:
On Mon, 14 Jul 2008, Tillmann Rendel wrote:
Apropos cabal-install: can i make it build documentation during the installation process and store them in some central location?
I also wondered about that. Maybe a '--haddock' flag for 'cabal install' ?
Everyone seems to ask the same (me too). See Ticket #206 (http://hackage.haskell.org/trac/hackage/ticket/206). Additional comments count as priority bumper! Cheers Ben

On Sat, 2008-07-19 at 01:26 +0200, Ben Franksen wrote:
Henning Thielemann wrote:
On Mon, 14 Jul 2008, Tillmann Rendel wrote:
Apropos cabal-install: can i make it build documentation during the installation process and store them in some central location?
I also wondered about that. Maybe a '--haddock' flag for 'cabal install' ?
Everyone seems to ask the same (me too). See Ticket #206 (http://hackage.haskell.org/trac/hackage/ticket/206). Additional comments count as priority bumper!
So! Who wants to implement it? :-) Volunteers please line up over here. Duncan

On Thu, 2008-07-10 at 18:53 -0400, Brandon S. Allbery KF8NH wrote:
On 2008 Jul 10, at 14:00, Eric wrote:
I have downloaded cabal and am trying to install it but have gotten the following error message:
C:\cabal\cabal-install-0.5.1>runghc Setup configure
Note that Eric is talking about cabal-install, not the Cabal library package.
Cabal itself is a special case; you need the same version of Cabal already installed to install it via Cabal...
The Cabal library package always bootstraps using its own source code. It does not need any existing version. Despite the bootstrapping it is just an ordinary Cabal package. It can be configured and built in the standard way using runhaskell or cabal-install.
Just run "make" to bootstrap it, IIRC.
Though that also works. Duncan
participants (8)
-
Ben Franksen
-
Brandon S. Allbery KF8NH
-
Don Stewart
-
Duncan Coutts
-
Eric
-
Henning Thielemann
-
Marco Túlio Gontijo e Silva
-
Tillmann Rendel