On 08/04/2010 12:18, Axel Simon wrote:
> Hi Simon,
>
> On 08.04.2010, at 12:59, Simon Marlow wrote:
>
>> Building from the darcs repository using GHC 6.12.1.20100330 (6.12.2
>> RC1), I get a failure in make depend, which later leads to
>>
>> /home/simonmar/fp/bin/x86_64-unknown-linux/ghc-6.12.1.20100330 +RTS
>> -RTS -split-objs -c glib/System/Glib.hs -o glib/System/Glib.o -O
>> -XForeignFunctionInterface -iglib -package-conf package.conf.inplace
>> -hide-all-packages -ignore-package glib -package base-4.2.0.1
>> -package-name glib-0.10.1 '-#include<glib-object.h>'
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>>
>> glib/System/Glib.hs:15:0:
>> Failed to load interface for `System.Glib.UTFString':
>> Use -v to see a list of the files searched for.
>>
>> The attached patch fixes it.
>>
> Ups, that's weird. How did this work in the first place. I applied your
> patch, thanks.
>
>
>> Then I get:
>>
>> ./tools/c2hs/c2hsLocal +RTS -RTS -iglib:cairo::gtk
>> --precomp=gtk/gtk.precomp -o gtk/Graphics/UI/Gtk/Types.hs
>> gtk/Graphics/UI/Gtk/Types.chs
>> c2hsLocal: Errors during expansion of binding hooks:
>>
>> gtk/Graphics/UI/Gtk/Types.chs:1482: (column 12) [ERROR]
>> >>> Unknown identifier!
>> [..]
>> Perhaps these are because I have an older version of gtk+ installed?
>> If that's the case, shouldn't the configure script complain?
>
> Yes, Andy just added loads of stuff. What is needed is an "if gtk-2.xx"
> clause in the tools/hierarchyGen/hierarchy.list file that ensures that a
> certain type definition is only generated if a Gtk+ version is installed
> that is at least 2.xx. Now, for each of HSV, InfoBar, Activatable, and
> ToolShell, somebody needs to figure out since when these are defined and
> add the appropriate "if gtk-2.xx" clauses. Then configure.ac needs to be
> checked that it generates these gtk-2.xx tags.
>
> Andy, could you do this?

For now, I unpulled all the patches back to and including the webkit 
patch.  I also had to unpull "Add support for GtkBuilder" to work around 
a build failure in there - looks like another configure issue.

Cheers,
        Simon

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to