Trying to install cabal

View: New views
9 Messages — Rating Filter:   Alert me  

Trying to install cabal

by Eric-175 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Trying to install cabal

by Don Stewart-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Trying to install cabal

by Marco Túlio Gontijo e Silva :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
XMPP: marcot@...
IRC: marcot@...
Telefone: 25151920
Celular: 98116720
Endereço:
 Rua Turfa, 639/701
 Prado 30410-370
 Belo Horizonte/MG Brasil

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Trying to install cabal

by Brandon S. Allbery KF8NH :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
system administrator [openafs,heimdal,too many hats] allbery@...
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Trying to install cabal

by Tillmann Rendel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Trying to install cabal

by Henning Thielemann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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' ?

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Trying to install cabal

by Duncan Coutts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Trying to install cabal

by Ben Franksen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Re: Trying to install cabal

by Duncan Coutts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe
LightInTheBox - Buy quality products at wholesale price