On 08/04/2010 14:00, Andy Stewart wrote:
> Hi Simon,
>
> Sorry for inconvenience!
>
> It's my fault that i forgot add gtk-2.xx tag in hierarchy.list and 
> configure.ac
>
> I have push new patch for fix compile error for new modules (HSV,
> InfoBar, EntryBuffer, Activatable, ToolShell).
>
> Can you test again?

Now I get this:

/home/simonmar/fp/bin/x86_64-unknown-linux/ghc-6.12.1.20100330 +RTS -RTS 
-split-objs -c gtk/Graphics/UI/Gtk.hs -o gtk/Graphics/UI/Gtk.o -O 
-XForeignFunctionInterface -fno-warn-duplicate-exports -igtk 
-package-conf package.conf.inplace -hide-all-packages -ignore-package 
gtk -package base-4.2.0.1 -package mtl-1.1.0.2 -package 
containers-0.3.0.0 -package array-0.3.0.0 -package glib-0.10.1 -package 
cairo-0.10.1 -package-name gtk-0.10.1 '-#include<gtk/hsgtk.h>' 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 
-I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -I.

gtk/Graphics/UI/Gtk.hs.pp:295:0:
     Failed to load interface for `Graphics.UI.Gtk.General.AccelGroup':
       Use -v to see a list of the files searched for.

Cheers,
        Simon


> Cheers,
>
>    -- Andy
>
> Simon Marlow<marlo...@gmail.com>  writes:
>
>> 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.
>>
>> 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!
>>    Cannot find a definition for `HSV' in the header file.
>> gtk/Graphics/UI/Gtk/Types.chs:1503: (column 22) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `gtk_hsv_get_type' in the header file.
>> gtk/Graphics/UI/Gtk/Types.chs:3374: (column 12) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `InfoBar' in the header file.
>> gtk/Graphics/UI/Gtk/Types.chs:3398: (column 22) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `gtk_info_bar_get_type' in the header file.
>> gtk/Graphics/UI/Gtk/Types.chs:5631: (column 12) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `EntryBuffer' in the header file.
>> gtk/Graphics/UI/Gtk/Types.chs:5650: (column 22) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `gtk_entry_buffer_get_type' in the header 
>> file.
>> gtk/Graphics/UI/Gtk/Types.chs:5677: (column 12) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `Activatable' in the header file.
>> gtk/Graphics/UI/Gtk/Types.chs:5696: (column 22) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `gtk_activatable_get_type' in the header 
>> file.
>> gtk/Graphics/UI/Gtk/Types.chs:5700: (column 12) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `ToolShell' in the header file.
>> gtk/Graphics/UI/Gtk/Types.chs:5719: (column 22) [ERROR]
>>    >>>  Unknown identifier!
>>    Cannot find a definition for `gtk_tool_shell_get_type' in the header file.
>>
>>
>> Perhaps these are because I have an older version of gtk+ installed?  If 
>> that's the case, shouldn't
>> the configure script complain?
>>
>> 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
>
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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