[Haskell-cafe] Haskell School of Expression (graphics)
jwlato at gmail.com
Mon May 30 14:48:12 CEST 2011
> 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
> 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?
> --- 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 (!)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe