Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  Beginner trying to install Haskell support in    Eclipse and
      failing (Alan Shaw)
   2. Re:  Beginner trying to install Haskell support in        Eclipse
      and failing (Graham Lowe)
   3. Re:  Beginner trying to install Haskell support in        Eclipse
      and failing (Daniel Fischer)
   4. Re:  Beginner trying to install Haskell support in        Eclipse
      and failing (Alan Shaw)


----------------------------------------------------------------------

Message: 1
Date: Sat, 17 Apr 2010 19:07:17 -0400
From: Alan Shaw <[email protected]>
Subject: [Haskell-beginners] Beginner trying to install Haskell
        support in      Eclipse and failing
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
I'm using cabal for the first time, and I'm confused.

I'm trying to build scion as instructed at
http://eclipsefp.sourceforge.net/build.html .
I have done:

git clone git://github.com/JPMoresmau/scion.git
cd scion
cabal install


I'm now at the point where this tells me the following:

Resolving dependencies...
cabal.exe: dependencies conflict: ghc-6.10.4 requires Cabal ==1.6.0.3
however
Cabal-1.6.0.3 was excluded because scion-0.1.0.2 requires Cabal ==1.8.* &&
==1.8.*

Some more information:

$ cabal -V
cabal-install version 0.6.2
using version 1.6.0.3 of the Cabal library
$ cabal update
Downloading the latest package list from hackage.haskell.org
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install
$ cabal install cabal-install
(lots and lots of output, ending with:)
Linking dist\build\cabal\cabal.exe ...
Installing executable(s) in C:\Program Files (x86)\Haskell\bin
$ cabal -V
cabal-install version 0.6.2
using version 1.6.0.3 of the Cabal library


Help?

Thanks,
-A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.haskell.org/pipermail/beginners/attachments/20100417/9491b7f5/attachment-0001.html

------------------------------

Message: 2
Date: Sat, 17 Apr 2010 19:24:16 -0400
From: Graham Lowe <[email protected]>
Subject: Re: [Haskell-beginners] Beginner trying to install Haskell
        support in      Eclipse and failing
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

As luck would have it, I ran into the same issue today. I checked the
scion google code website and found a solution. Quick summary: you'll
have to pull changes from the development branch.

Here's a link to the reported issue and the solution:

http://code.google.com/p/scion-lib/issues/detail?id=38&can=1&q=build

Hope that helps,
Graham

On 17 April 2010 19:07, Alan Shaw <[email protected]> wrote:
> Hi,
> I'm using cabal for the first time, and I'm confused.
> I'm trying to build scion as instructed
> at http://eclipsefp.sourceforge.net/build.html .
> I have done:
> git clone git://github.com/JPMoresmau/scion.git
> cd scion
> cabal install
>
> I'm now at the point where this tells me the following:
> Resolving dependencies...
> cabal.exe: dependencies conflict: ghc-6.10.4 requires Cabal ==1.6.0.3
> however
> Cabal-1.6.0.3 was excluded because scion-0.1.0.2 requires Cabal ==1.8.* &&
> ==1.8.*
> Some more information:
> $ cabal -V
> cabal-install version 0.6.2
> using version 1.6.0.3 of the Cabal library
> $ cabal update
> Downloading the latest package list from hackage.haskell.org
> Note: there is a new version of cabal-install available.
> To upgrade, run: cabal install cabal-install
> $ cabal install cabal-install
> (lots and lots of output, ending with:)
> Linking dist\build\cabal\cabal.exe ...
> Installing executable(s) in C:\Program Files (x86)\Haskell\bin
> $ cabal -V
> cabal-install version 0.6.2
> using version 1.6.0.3 of the Cabal library
>
> Help?
> Thanks,
> -A
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>


------------------------------

Message: 3
Date: Sun, 18 Apr 2010 01:43:01 +0200
From: Daniel Fischer <[email protected]>
Subject: Re: [Haskell-beginners] Beginner trying to install Haskell
        support in      Eclipse and failing
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain;  charset="utf-8"

Am Sonntag 18 April 2010 01:07:17 schrieb Alan Shaw:
> Hi,
> I'm using cabal for the first time, and I'm confused.
>
> I'm trying to build scion as instructed at
> http://eclipsefp.sourceforge.net/build.html .
> I have done:
>
> git clone git://github.com/JPMoresmau/scion.git
> cd scion
> cabal install
>
>
> I'm now at the point where this tells me the following:
>
> Resolving dependencies...
> cabal.exe: dependencies conflict: ghc-6.10.4 requires Cabal ==1.6.0.3
> however
> Cabal-1.6.0.3 was excluded because scion-0.1.0.2 requires Cabal ==1.8.*
> && ==1.8.*

That's odd, the .cabal file says

  if flag(cabal_1_8)
    build-depends:  Cabal == 1.8.*
    cpp-options:    -DCABAL_VERSION=108
  else
    build-depends:  Cabal == 1.6.*
    cpp-options:    -DCABAL_VERSION=106

and since you don't have Cabal-1.8.*, it should set the flag to false and 
try again.

Anyway, try setting the flag to false on the command line:

cabal install -f-cabal_1_8

or install the hackage package:

cabal install scion

>
> Some more information:
>
> $ cabal -V
> cabal-install version 0.6.2
> using version 1.6.0.3 of the Cabal library
> $ cabal update
> Downloading the latest package list from hackage.haskell.org
> Note: there is a new version of cabal-install available.
> To upgrade, run: cabal install cabal-install
> $ cabal install cabal-install
> (lots and lots of output, ending with:)
> Linking dist\build\cabal\cabal.exe ...
> Installing executable(s) in C:\Program Files (x86)\Haskell\bin

Is that directory in your path (and before the directory cabal-
install-0.6.2 is in)?

> $ cabal -V
> cabal-install version 0.6.2
> using version 1.6.0.3 of the Cabal library

perhaps

cabal install cabal-install-0.8.0 (or whatever the latest version working 
on windows is)

>
>
> Help?
>
> Thanks,
> -A



------------------------------

Message: 4
Date: Sat, 17 Apr 2010 20:17:02 -0400
From: Alan Shaw <[email protected]>
Subject: Re: [Haskell-beginners] Beginner trying to install Haskell
        support in      Eclipse and failing
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

I installed scion from hackage ok, but then I remembered this, from
http://eclipsefp.sourceforge.net/ :

You cannot use the version from Hackage (0.1.0.2) since commands have
been added for eclipsefp. You'll need to build Scion from source (git
clone git://github.com/JPMoresmau/scion.git, runhaskell Setup.hs
configure/build/install)

So I did the other thing:

cabal install -f-cabal_1_8

And now I have got updates in Eclipse from  http://eclipsefp.sf.net/updates,
and I'm about to "Create a Haskell Project." so if that process
doesn't mystify me I'm good to go for now.

And I plan to update ghc "soon."

Thanks, all!

-A


On Sat, Apr 17, 2010 at 7:43 PM, Daniel Fischer
<[email protected]> wrote:
>
> Am Sonntag 18 April 2010 01:07:17 schrieb Alan Shaw:
> > Hi,
> > I'm using cabal for the first time, and I'm confused.
> >
> > I'm trying to build scion as instructed at
> > http://eclipsefp.sourceforge.net/build.html .
> > I have done:
> >
> > git clone git://github.com/JPMoresmau/scion.git
> > cd scion
> > cabal install
> >
> >
> > I'm now at the point where this tells me the following:
> >
> > Resolving dependencies...
> > cabal.exe: dependencies conflict: ghc-6.10.4 requires Cabal ==1.6.0.3
> > however
> > Cabal-1.6.0.3 was excluded because scion-0.1.0.2 requires Cabal ==1.8.*
> > && ==1.8.*
>
> That's odd, the .cabal file says
>
>  if flag(cabal_1_8)
>    build-depends:  Cabal == 1.8.*
>    cpp-options:    -DCABAL_VERSION=108
>  else
>    build-depends:  Cabal == 1.6.*
>    cpp-options:    -DCABAL_VERSION=106
>
> and since you don't have Cabal-1.8.*, it should set the flag to false and
> try again.
>
> Anyway, try setting the flag to false on the command line:
>
> cabal install -f-cabal_1_8
>
> or install the hackage package:
>
> cabal install scion
>
> >
> > Some more information:
> >
> > $ cabal -V
> > cabal-install version 0.6.2
> > using version 1.6.0.3 of the Cabal library
> > $ cabal update
> > Downloading the latest package list from hackage.haskell.org
> > Note: there is a new version of cabal-install available.
> > To upgrade, run: cabal install cabal-install
> > $ cabal install cabal-install
> > (lots and lots of output, ending with:)
> > Linking dist\build\cabal\cabal.exe ...
> > Installing executable(s) in C:\Program Files (x86)\Haskell\bin
>
> Is that directory in your path (and before the directory cabal-
> install-0.6.2 is in)?
>
> > $ cabal -V
> > cabal-install version 0.6.2
> > using version 1.6.0.3 of the Cabal library
>
> perhaps
>
> cabal install cabal-install-0.8.0 (or whatever the latest version working
> on windows is)
>
> >
> >
> > Help?
> >
> > Thanks,
> > -A
>


------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 22, Issue 27
*****************************************

Reply via email to