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: Graphics.UI.Gtk.Glade (Gary Klindt)
2. multiple version warning (Christopher Howard)
3. Re: multiple version warning (Christopher Howard)
----------------------------------------------------------------------
Message: 1
Date: Thu, 13 Dec 2012 17:00:01 +0100
From: Gary Klindt <[email protected]>
Subject: Re: [Haskell-beginners] Graphics.UI.Gtk.Glade
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Probably, you need another haskell package:
http://hackage.haskell.org/package/glade
cabal install glade
On 12/13/2012 09:57 AM, Guenter wrote:
> I am trying to compile the Gtk2Hs demo program GladeTest.hs
>
> (OS: Windows7; HaskellPlatform-2012.4.0.0-setup.exe;
> gtk+-bundle_2.24.10-20120208_win32; glade-3-8-3-installer.exe;
> I am a beginner )
>
> The error I get is:
>
> *Prelude>*:load "GladeTest.hs"
>
> GladeTest.hs:4:8:
>
> Could not find module `Graphics.UI.Gtk.Glade'
>
> Perhaps you meant
>
> Graphics.UI.Gtk.Builder (from gtk-0.12.4)
>
> Graphics.UI.Gtk.Cairo (from gtk-0.12.4)
>
> Graphics.UI.Gtk.Gdk.GC (from gtk-0.12.4)
>
> Use -v to see a list of the files searched for.
>
> Failed, modules loaded: none.
>
> *Prelude>*
>
>
> I did these okay:
>
> cabal install cabal-install
>
> cabal update
>
> cabal install gtk2hs-buildtools
>
> cabal install gtk
>
> glade-3-8-3-installer.exe
>
>
> and I can compile and run some other Gtk2Hs demos (that do not use Glade)
> okay.
>
>
> Use -v to see a list of the files searched for.
>
>
>
>
> Best regards Guenter
>
>
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
------------------------------
Message: 2
Date: Thu, 13 Dec 2012 12:35:25 -0900
From: Christopher Howard <[email protected]>
Subject: [Haskell-beginners] multiple version warning
To: Haskell Beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
When I added the cmdtheline package to the dependency list in my
project, and reconfigured, I ended up with this warning:
code:
--------
$ cabal configure
Resolving dependencies...
Configuring edge-0.8.19...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package gloss-1.7.6.6 requires bytestring-0.10.0.1
package bmp-1.2.3.2 requires bytestring-0.10.0.1
package binary-0.5.1.1 requires bytestring-0.10.0.1
package unix-2.5.1.0 requires bytestring-0.9.2.1
package text-0.11.2.1 requires bytestring-0.9.2.1
package parsec-3.1.3 requires bytestring-0.9.2.1
--------
However, so far, the project seems to build fine, even using some of the
cmdtheline functions and data types. So, is this something I can ignore,
or is this going to cause me problems down the road?
--
frigidcode.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20121213/0984b931/attachment-0001.pgp>
------------------------------
Message: 3
Date: Thu, 13 Dec 2012 15:11:01 -0900
From: Christopher Howard <[email protected]>
Subject: Re: [Haskell-beginners] multiple version warning
To: Haskell Beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
On 12/13/2012 12:35 PM, Christopher Howard wrote:
> When I added the cmdtheline package to the dependency list in my
> project, and reconfigured, I ended up with this warning:
>
> code:
> --------
> $ cabal configure
> Resolving dependencies...
> Configuring edge-0.8.19...
> Warning: This package indirectly depends on multiple versions of the same
> package. This is highly likely to cause a compile failure.
> package gloss-1.7.6.6 requires bytestring-0.10.0.1
> package bmp-1.2.3.2 requires bytestring-0.10.0.1
> package binary-0.5.1.1 requires bytestring-0.10.0.1
> package unix-2.5.1.0 requires bytestring-0.9.2.1
> package text-0.11.2.1 requires bytestring-0.9.2.1
> package parsec-3.1.3 requires bytestring-0.9.2.1
> --------
>
> However, so far, the project seems to build fine, even using some of the
> cmdtheline functions and data types. So, is this something I can ignore,
> or is this going to cause me problems down the road?
>
>
For posterity: This problem went away after I reinstalled my project
package. During the reinstallation, cabal recalculated the dependencies
and reinstalled an earlier version of one of the packages. So evidently
cabal was smart enough to figure out the proper package versions needing
to be installed to avoid the dependency conflict.
--
frigidcode.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20121213/927aa36c/attachment-0001.pgp>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 54, Issue 19
*****************************************