Axel Simon | 12 Mar 15:47 2012
Picon

Re: gtk-0.12.3

Hi Christian,

On 12.03.2012, at 15:01, Christian Maeder wrote:

> Hi,
>
> "cabal install gtk" using ghc-7.4.1 fails for me as below.
>
> "pkg-config --modversion gtk+-2.0" shows 2.20.1
>

Hmmm. I'm confused too. All the code in Accessible is surrounded by

#if GTK_CHECK_VERSION(2,22,0)
#endif

which must mean that the version numbers are not communicated  
correctly to ghc?!

Cheers,
Axel

> I installed gtk2hs-buildtools-0.12.3 before.
>
> How should I proceed?
>
> Cheers Christian
>
> [ 40 of 207] Compiling Graphics.UI.Gtk.Misc.Accessible (
> dist/build/Graphics/UI/Gtk/Misc/Accessible.hs,
> dist/build/Graphics/UI/Gtk/Misc/Accessible.o )
>
> Graphics/UI/Gtk/Misc/Accessible.chs:74:24:
>     Not in scope: type constructor or class `AccessibleClass'
>     Perhaps you meant `AccelLabelClass' (imported from
> Graphics.UI.Gtk.Types)
>
> Graphics/UI/Gtk/Misc/Accessible.chs:79:6:
>     Not in scope: `toAccessible'
>
> Graphics/UI/Gtk/Misc/Accessible.chs:85:25:
>     Not in scope: type constructor or class `AccessibleClass'
>     Perhaps you meant `AccelLabelClass' (imported from
> Graphics.UI.Gtk.Types)
>
> Graphics/UI/Gtk/Misc/Accessible.chs:91:7:
>     Not in scope: `toAccessible'
> cabal: Error: some packages failed to install:
> gtk-0.12.3 failed during the building phase. The exception was:
> ExitFailure 1
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft  
> developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,  
> MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Gtk2hs-users mailing list
> Gtk2hs-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Gmane