<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">and then<div><br></div><div>cabal install soegtk?</div><div><br></div><div>Michael</div><div><br>--- On <b>Mon, 5/30/11, John Lato <i>&lt;jwlato@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: John Lato &lt;jwlato@gmail.com&gt;<br>Subject: Re: [Haskell-cafe] Haskell School of Expression (graphics)<br>To: "michael rice" &lt;nowgate@yahoo.com&gt;<br>Cc: haskell-cafe@haskell.org, "Andrew Coppin" &lt;andrewcoppin@btinternet.com&gt;<br>Date: Monday, May 30, 2011, 8:48 AM<br><br><div id="yiv1062872050"><div class="yiv1062872050gmail_quote"><blockquote class="yiv1062872050gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">From: michael rice &lt;<a rel="nofollow" ymailto="mailto:nowgate@yahoo.com" target="_blank"
 href="/mc/compose?to=nowgate@yahoo.com">nowgate@yahoo.com</a>&gt;<br></blockquote>
<div><br></div><div>I think this is fixed in the gtk2hs source tree, have you tried building from the repo?</div><div><br></div><div>&gt; cabal install gtk2hs-buildtools</div><div>&gt; darcs get --lazy <a rel="nofollow" target="_blank" href="http://code.haskell.org/gtk2hs/">http://code.haskell.org/gtk2hs/</a></div>
<div>&gt; cd gtk2hs</div><div>&gt; chmod +x bootstrap.sh</div><div>&gt; ./bootstrap.sh</div><div>&nbsp;</div><div>John Lato</div><div><br></div><blockquote class="yiv1062872050gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
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?<br>
<br>
Michael<br>
--- On Sun, 5/29/11, Andrew Coppin &lt;<a rel="nofollow" ymailto="mailto:andrewcoppin@btinternet.com" target="_blank" href="/mc/compose?to=andrewcoppin@btinternet.com">andrewcoppin@btinternet.com</a>&gt; wrote:<br>
<br>
From: Andrew Coppin &lt;<a rel="nofollow" ymailto="mailto:andrewcoppin@btinternet.com" target="_blank" href="/mc/compose?to=andrewcoppin@btinternet.com">andrewcoppin@btinternet.com</a>&gt;<br>
Subject: Re: [Haskell-cafe] Haskell School of Expression (graphics)<br>
To: <a rel="nofollow" ymailto="mailto:haskell-cafe@haskell.org" target="_blank" href="/mc/compose?to=haskell-cafe@haskell.org">haskell-cafe@haskell.org</a><br>
Date: Sunday, May 29, 2011, 9:45 AM<br>
<br>
On 28/05/2011 08:06 PM, michael rice wrote:<br>
<br>
&gt; /tmp/glib-0.11.22906/glib-0.11.2/Gtk2HsSetup.hs:190:70:<br>
&gt; Couldn't match expected type `[PackageDB]'<br>
&gt; with actual type `PackageDB'<br>
&gt; Expected type: PackageDBStack<br>
&gt; Actual type: PackageDB<br>
&gt; In the sixth argument of `registerPackage', namely `packageDb'<br>
&gt; In the expression:<br>
&gt; registerPackage<br>
&gt; verbosity installedPkgInfo pkg lbi inplace packageDb<br>
&gt; cabal: Error: some packages failed to install:<br>
&gt; cairo-0.11.1 failed during the configure step. The exception was:<br>
&gt; ExitFailure 1<br>
<br>
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 (!)<br>
<br>
<a rel="nofollow" target="_blank" href="http://hackage.haskell.org/trac/gtk2hs/ticket/1203">http://hackage.haskell.org/trac/gtk2hs/ticket/1203</a></blockquote><div><br></div><div>&nbsp;</div></div><br>
</div></blockquote></div></td></tr></table>