On 17/01/2015 09:51, meino.cra...@gmx.de wrote:
> Alan McKinnon <alan.mckin...@gmail.com> [15-01-17 07:20]:
>> On 16/01/2015 19:45, meino.cra...@gmx.de wrote:
>>> The emerging still fails...but the color is different... ;)
>>> The error messages are:
>>>
>>> In file included from 
>>> /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2.cpp:58:0:
>>> /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:311:20:
>>>  error: ISO C++ forbids declaration of ‘GLsync’ with no type [-fpermissive]
>>>      typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
>>>                     ^
>>> /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:311:20:
>>>  error: typedef ‘Sync::GLsync’ is initialized (use decltype instead)
>>> /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:311:22:
>>>  error: ‘kis_glFenceSync’ was not declared in this scope
>>>      typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield);
>>>                       ^
>>> /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:312:12:
>>>  error: ‘kis_glFenceSync’ does not name a type
>>>      static kis_glFenceSync k_glFenceSync = 0;
>>>             ^
>>> /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:37:
>>>  error: typedef ‘Sync::kis_glGetSynciv’ is initialized (use decltype 
>>> instead)
>>>      typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, 
>>> GLint*);
>>>                                      ^
>>> /var/tmp/portage/app-office/calligra-2.8.6/work/calligra-2.8.6/krita/ui/opengl/kis_opengl_canvas2_p.h:313:37:
>>>  error: ‘GLsync’ was not declared in this scope
>>
>>
>>
>> Hi Meino,
>>
>> A quick look at those errors makes me wonder if you need glew. There's
>> an upstream bug:
>>
>> https://bugs.kde.org/show_bug.cgi?id=332813
>>
>> and more detail at b.g.o:
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=532762
>>
>> If I read the bugs correctly, it looks like you need USE="glew" then
>> rebuild calligra.
>>
>>
>>
>> The package builds for me, so we know it does work. The errors are the
>> kind of thing you'd get if some required package or feature is missing.
>> If adding glew support doesn't fix it for you, I recommend you open a
>> new bug at b.g.o.
>>
>>
>>
>>
>> -- 
>> Alan McKinnon
>> alan.mckin...@gmail.com
>>
>>
> 
> Hi Alan,
> 
> thanks again for your help! :)
> 
> 
> 
> I checked both bugs you linked but it seems (read: I dont know for
> sure ;), that they a little different.
> 
> ...only to get sure, that I understand correctly:
> 
> "glew" should be set as one of the USE-flags for calligra.
> 
> OK?


Yes, I would do that first.


You might run into other compile issues as glew is a somewhat low-level
library and other things might need it as well. But step 1 would be to
add it to only calligra first.


-- 
Alan McKinnon
alan.mckin...@gmail.com


Reply via email to