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. Re: GUI (Glade installation) (Stephanie Wong)
2. Re: GUI (Glade installation) (David Virebayre)
----------------------------------------------------------------------
Message: 1
Date: Tue, 18 Jan 2011 16:02:42 +0000
From: Stephanie Wong <[email protected]>
Subject: Re: [Haskell-beginners] GUI (Glade installation)
To: Tom Hobbs <[email protected]>, Stephanie Wong
<[email protected]>, "[email protected]"
<[email protected]>
Message-ID:
<543a5ba0271e66489e00529b39c7b4580296ac4...@exchange1.ad.nottingham.ac.uk>
Content-Type: text/plain; charset="us-ascii"
I downloaded glade-3.4.3-win32-1.zip file extracted to 'C:\Glade' then I added
'C:\Glade' to the path environment variable.
I tried 'cabal install glade' on command shell and got this:
'Cannot find gtk2hsC2hs
Please install gtk2hs-buildtools' first and check that the install directory is
in your PATH (e.g. HOME/.cabal/bin).
cabal: Error: some packages failed to install:
glade-0.12.0 failed while unpacking the package. The exception was:
Remove Directory
"C:\...\AppData\Local\Temp\glade-0.12.02748\glade-0.12.0\dist\setup":
unsatisfied contraints (The directory is not empty) '
I think I'm missing something but I'm not really sure.
________________________________________
From: Tom Hobbs [[email protected]]
Sent: 18 January 2011 09:54
To: Stephanie Wong; [email protected]
Subject: Re: [Haskell-beginners] GUI (Glade installation)
Hi Stephanie,
How did you install Glade?
I've only used it briefly (and not on Windows). I used the following
commands to get everything working without any trouble.
cabal install alex
cabal install gtk2hs-buildtools
cabal install gtk
cabal install glade
Sorry I can't be any more help.
Good luck.
Tom
On Tue, Jan 18, 2011 at 1:35 AM, Stephanie Wong <[email protected]> wrote:
> Hi,
>
> I am new to GUIs and for my project I need to develop a GUI. I found a demo
> that is very useful but unfortunately, I am unable to compile it and get this
> error message:
>
> 'Could not find module 'Graphics.UI.Gtk.Glade':
> Use -v to see the a list of the files searched for.'
>
> I have installed Gtk2hs and able to use other demos without Glade. I have
> searched Glade and found many different versions and the installation seems a
> bit complicated. I'm working on Windows 7.
>
> Would you be able to recommend a version of Glade that is compatible for
> Windows 7 and perhaps give me some instructions on how to install it please.
>
>
>
> Many Thanks,
> StephThis message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this message
> in error, please send it back to me, and immediately delete it. Please do
> not use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
------------------------------
Message: 2
Date: Wed, 19 Jan 2011 10:15:44 +0100
From: David Virebayre <[email protected]>
Subject: Re: [Haskell-beginners] GUI (Glade installation)
To: Stephanie Wong <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
2011/1/18 Stephanie Wong <[email protected]>:
> I downloaded glade-3.4.3-win32-1.zip file extracted to 'C:\Glade' then I
> added 'C:\Glade' to the path environment variable.
> I tried 'cabal install glade' on command shell and got this:
>
> 'Cannot find gtk2hsC2hs
> Please install gtk2hs-buildtools' first and check that the install directory
> is in your PATH (e.g. HOME/.cabal/bin).
I think you have to 'cabal install gtk2hs-buildtools' then 'cabal
install gtk2hs' then 'cabal install glade'
David.
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 31, Issue 18
*****************************************