[sugar] Re: Build issues

Marco Pesenti Gritti mpg
Sat Sep 2 02:42:14 EDT 2006


7150 wrote:
> Marco Pesenti Gritti wrote:
>   
>> Hi,
>>
>> the reason builds has been failing lately is that goocanvas now requires
>> gtk 2.10.
>>
>> I just checked in a patch in sugar-jhbuild to build gtk+ and some deps
>> too. It increase the build time quite a bit but I don't think there is a
>> way around that.
>>
>> Let me know if this works fine for you or there are still issues.
>>
>> Marco
>>
>>
>>
>>     
> I tried again tonight.
>
> Here are some log clips:
>
> *** Checking out goocanvas *** [13/15]
>
> cvs -z3 -q -d :pserver:anonymous at cvs.cairographics.org:/cvs/cairo update
> -P -d -A .
> Unknown host cvs.cairographics.org.
> *** error during stage checkout of goocanvas: Error running ['cvs',
> '-z3', '-q', '-d',
> u':pserver:anonymous at cvs.cairographics.org:/cvs/cairo', 'update', '-P',
> '-d', '-A', '.'] *** [13/15]
>
>
>   [1] rerun stage checkout
>   [2] ignore error and continue to build
>   [3] give up on module
>   [4] start shell
>   [5] go to stage force_checkout
> choice: 5
> *** Checking out goocanvas *** [13/15]
>
> Tried 5, ended up here.
>
> In file included from goocanvas.h:30,
>                  from goocanvasatk.c:13:
> ./goocanvasview.h:106: error: syntax error before 'GtkUnit'
> ./goocanvasview.h:106: warning: no semicolon at end of struct or union
> ./goocanvasview.h:115: error: syntax error before '}' token
> goocanvasatk.c: In function
> 'goo_canvas_item_view_accessible_get_item_extents':
> goocanvasatk.c:58: error: dereferencing pointer to incomplete type
> goocanvasatk.c:59: error: dereferencing pointer to incomplete type
> goocanvasatk.c:60: error: dereferencing pointer to incomplete type
> goocanvasatk.c:61: error: dereferencing pointer to incomplete type
> goocanvasatk.c: In function 'goo_canvas_item_view_accessible_ref_state_set':
> goocanvasatk.c:415: error: dereferencing pointer to incomplete type
> make[3]: *** [goocanvasatk.lo] Error 1
> make[3]: Leaving directory `/home/y7150/sugar-jhbuild/source/goocanvas/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/y7150/sugar-jhbuild/source/goocanvas/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/y7150/sugar-jhbuild/source/goocanvas'
> make: *** [all] Error 2
> *** error during stage build of goocanvas: Error running make   *** [13/15]
>
>
>   [1] rerun stage build
>   [2] ignore error and continue to install
>   [3] give up on module
>   [4] start shell
>   [5] go to stage force_checkout
>   [6] go to stage configure
> choice:
>   

I think the issue is that goocanvas didn't pick up the new gtk, you need 
to force it to run autogen again.
Try:

sugar-jhbuild build -a

Marco


More information about the Sugar-devel mailing list