On Sat, Mar 26, 2011 at 10:00 PM, <beginners-request@haskell.org> wrote:
Send Beginners mailing list submissions to
       beginners@haskell.org

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
       beginners-request@haskell.org

You can reach the person managing the list at
       beginners-owner@haskell.org

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


Today's Topics:

  1.  Cannot Install Yi - Haskell 2011.02.0.0 (Sayth Renshaw)
  2. Re:  Cannot Install Yi - Haskell 2011.02.0.0 (Jeff Wheeler)
  3. Re:  Cannot Install Yi - Haskell 2011.02.0.0 (Sayth Renshaw)


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

Message: 1
Date: Sat, 26 Mar 2011 18:59:52 +1100
From: Sayth Renshaw <flebber.crue@gmail.com>
Subject: [Haskell-beginners] Cannot Install Yi - Haskell 2011.02.0.0
To: beginners@haskell.org
Message-ID:
       <AANLkTikKe=2acBD-mNaVPkX77WmfPOdF8Xxh9MEVpfia@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi I am on Windows XP SP3. The unix chain fails to install and therefore i
cannot install Yi.

This is how it is failing. Any ideas on how to get it working?

Registering dyre-0.8.6...
Installing library in C:\Documents and Settings\renshaw\Application
Data\cabal\dyre-0.8.6\ghc-7.0.2
Registering dyre-0.8.6...
cabal: Error: some packages failed to install:
terminfo-0.3.1.3 failed during the configure step. The exception was:
ExitFailure 1
unix-2.4.2.0 failed during the configure step. The exception was:
ExitFailure 1
vty-4.6.0.6 depends on unix-2.4.2.0 which failed to install.
yi-0.6.3.0 depends on unix-2.4.2.0 which failed to install.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110326/68be8871/attachment-0001.htm>

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

Message: 2
Date: Sat, 26 Mar 2011 03:04:07 -0500
From: Jeff Wheeler <wheele11@illinois.edu>
Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
       2011.02.0.0
To: beginners@haskell.org, yi-devel@googlegroups.com
Message-ID:
       <AANLkTin8TWrzkuZRKMtyMP6mnZuAPqCV3R0Fzw5wbnuC@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Sat, Mar 26, 2011 at 2:59 AM, Sayth Renshaw <flebber.crue@gmail.com> wrote:
> Hi I am on Windows XP SP3. The unix chain fails to install and therefore i
> cannot install Yi.

The vty UI is not supported on Windows, unfortunately. You'll need to
install Gtk2Hs and the Pango UI. I'm not sure if there's anything you
need to do to install Gtk2Hs (on unix machines, it's just cabal
install-able), but after that you should be able to run this:

$ cabal install yi -f-vty -fpango

(That disables the vty UI, enables the pango UI.)

--
Jeff Wheeler

Undergraduate, Electrical Engineering
University of Illinois at Urbana-Champaign



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

Message: 3
Date: Sat, 26 Mar 2011 20:33:24 +1100
From: Sayth Renshaw <flebber.crue@gmail.com>
Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
       2011.02.0.0
To: beginners@haskell.org
Message-ID:
       <AANLkTikWGQOH95U=8f55ZT+drf3MrCTTxwjY5621ddq7@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Sat, Mar 26, 2011 at 6:59 PM, Sayth Renshaw <flebber.crue@gmail.com>wrote:

> Hi I am on Windows XP SP3. The unix chain fails to install and therefore i
> cannot install Yi.
>
> This is how it is failing. Any ideas on how to get it working?
>
> Registering dyre-0.8.6...
> Installing library in C:\Documents and Settings\renshaw\Application
> Data\cabal\dyre-0.8.6\ghc-7.0.2
> Registering dyre-0.8.6...
> cabal: Error: some packages failed to install:
> terminfo-0.3.1.3 failed during the configure step. The exception was:
> ExitFailure 1
> unix-2.4.2.0 failed during the configure step. The exception was:
> ExitFailure 1
> vty-4.6.0.6 depends on unix-2.4.2.0 which failed to install.
> yi-0.6.3.0 depends on unix-2.4.2.0 which failed to install.
>

Actually I cannot install Yi on mint debian either. Cabal version doesn't
match.

I did cabal install cabal-install
then
cabal upgrade cabal

but get this error when trying to install Yi

Installing library in /home/sayth/.cabal/lib/Cabal-1.10.1.0/ghc-6.12.1
Registering Cabal-1.10.1.0...
sayth@homegroup ~ $ cabal install yi
Resolving dependencies...
cabal: dependencies conflict: ghc-6.12.1 requires Cabal ==1.8.0.2 however
Cabal-1.8.0.2 was excluded because yi-0.6.3.0 requires Cabal ==1.10.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110326/e55d3703/attachment-0001.htm>

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

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 33, Issue 36
*****************************************

The command cabal install-able wouldn't work for me no package found.

so I installed gtk and yi-gtk.

I tried to then use.
$ cabal install yi -f-vty -fpango

this failed though because among other things glib would not install. from the error messages gtk2hs-buildtools was advised to be installed. So I installed that.
Then I attempted to use $ cabal install yi -f-vty -fpango again but still glib fails.

glib cannot be installed because of below error. Any further ideas?

\setup.exe ...
Configuring glib-0.12.0...
setup.exe: The program pkg-config version >=0.9.0 is required but it could not
be found.
cabal: Error: some packages failed to install:
glib-0.12.0 failed during the configure step. The exception was:
ExitFailure 1

C:\Documents and Settings\renshaw>cabal install pkg-config
cabal: There is no package named 'pkg-config'.
You may need to run 'cabal update' to get the latest list of available
packages.

Sayth