[Haskell-cafe] Haskell School of Expression (graphics)

michael rice nowgate at yahoo.com
Mon May 30 15:18:23 CEST 2011


and then
cabal install soegtk?
Michael
--- On Mon, 5/30/11, John Lato <jwlato at gmail.com> wrote:

From: John Lato <jwlato at gmail.com>
Subject: Re: [Haskell-cafe] Haskell School of Expression (graphics)
To: "michael rice" <nowgate at yahoo.com>
Cc: haskell-cafe at haskell.org, "Andrew Coppin" <andrewcoppin at btinternet.com>
Date: Monday, May 30, 2011, 8:48 AM

From: michael rice <nowgate at yahoo.com>


I think this is fixed in the gtk2hs source tree, have you tried building from the repo?
> cabal install gtk2hs-buildtools> darcs get --lazy http://code.haskell.org/gtk2hs/
> cd gtk2hs> chmod +x bootstrap.sh> ./bootstrap.sh John Lato




Is this worth chasing down? I loaded the Haskell Platform, which I assume has some graphics capability (Cairo?). Maybe my time would be better spent getting familiar with that?



Michael

--- On Sun, 5/29/11, Andrew Coppin <andrewcoppin at btinternet.com> wrote:



From: Andrew Coppin <andrewcoppin at btinternet.com>

Subject: Re: [Haskell-cafe] Haskell School of Expression (graphics)

To: haskell-cafe at haskell.org

Date: Sunday, May 29, 2011, 9:45 AM



On 28/05/2011 08:06 PM, michael rice wrote:



> /tmp/glib-0.11.22906/glib-0.11.2/Gtk2HsSetup.hs:190:70:

> Couldn't match expected type `[PackageDB]'

> with actual type `PackageDB'

> Expected type: PackageDBStack

> Actual type: PackageDB

> In the sixth argument of `registerPackage', namely `packageDb'

> In the expression:

> registerPackage

> verbosity installedPkgInfo pkg lbi inplace packageDb

> cabal: Error: some packages failed to install:

> cairo-0.11.1 failed during the configure step. The exception was:

> ExitFailure 1



There's some sort of glitch with Gtk2hs (on which SOE depends) that causes it to not build with GHC 7.x (?) unless you hand-edit some of the files (!)



http://hackage.haskell.org/trac/gtk2hs/ticket/1203
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110530/c8018fc7/attachment.htm>


More information about the Haskell-Cafe mailing list