1 |
On 17/01/2015 09:51, Meino.Cramer@×××.de wrote: |
2 |
> Alan McKinnon <alan.mckinnon@×××××.com> [15-01-17 07:20]: |
3 |
>> On 16/01/2015 19:45, Meino.Cramer@×××.de wrote: |
4 |
>>> The emerging still fails...but the color is different... ;) |
5 |
>>> The error messages are: |
6 |
>>> |
7 |
>>> 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: |
8 |
>>> /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] |
9 |
>>> typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield); |
10 |
>>> ^ |
11 |
>>> /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) |
12 |
>>> /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 |
13 |
>>> typedef GLsync (*kis_glFenceSync)(GLenum, GLbitfield); |
14 |
>>> ^ |
15 |
>>> /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 |
16 |
>>> static kis_glFenceSync k_glFenceSync = 0; |
17 |
>>> ^ |
18 |
>>> /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) |
19 |
>>> typedef void (*kis_glGetSynciv)(GLsync, GLenum, GLsizei, GLsizei*, GLint*); |
20 |
>>> ^ |
21 |
>>> /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 |
22 |
>> |
23 |
>> |
24 |
>> |
25 |
>> Hi Meino, |
26 |
>> |
27 |
>> A quick look at those errors makes me wonder if you need glew. There's |
28 |
>> an upstream bug: |
29 |
>> |
30 |
>> https://bugs.kde.org/show_bug.cgi?id=332813 |
31 |
>> |
32 |
>> and more detail at b.g.o: |
33 |
>> |
34 |
>> https://bugs.gentoo.org/show_bug.cgi?id=532762 |
35 |
>> |
36 |
>> If I read the bugs correctly, it looks like you need USE="glew" then |
37 |
>> rebuild calligra. |
38 |
>> |
39 |
>> |
40 |
>> |
41 |
>> The package builds for me, so we know it does work. The errors are the |
42 |
>> kind of thing you'd get if some required package or feature is missing. |
43 |
>> If adding glew support doesn't fix it for you, I recommend you open a |
44 |
>> new bug at b.g.o. |
45 |
>> |
46 |
>> |
47 |
>> |
48 |
>> |
49 |
>> -- |
50 |
>> Alan McKinnon |
51 |
>> alan.mckinnon@×××××.com |
52 |
>> |
53 |
>> |
54 |
> |
55 |
> Hi Alan, |
56 |
> |
57 |
> thanks again for your help! :) |
58 |
> |
59 |
> |
60 |
> |
61 |
> I checked both bugs you linked but it seems (read: I dont know for |
62 |
> sure ;), that they a little different. |
63 |
> |
64 |
> ...only to get sure, that I understand correctly: |
65 |
> |
66 |
> "glew" should be set as one of the USE-flags for calligra. |
67 |
> |
68 |
> OK? |
69 |
|
70 |
|
71 |
Yes, I would do that first. |
72 |
|
73 |
|
74 |
You might run into other compile issues as glew is a somewhat low-level |
75 |
library and other things might need it as well. But step 1 would be to |
76 |
add it to only calligra first. |
77 |
|
78 |
|
79 |
-- |
80 |
Alan McKinnon |
81 |
alan.mckinnon@×××××.com |