1 |
Hello, |
2 |
|
3 |
I've compiled love2d-0.9.1 from the sources with Gentoo. It first failed |
4 |
with: |
5 |
|
6 |
$ |
7 |
<...> |
8 |
In file included from modules/graphics/opengl/GLee.h:66:0, |
9 |
from modules/graphics/opengl/OpenGL.h:24, |
10 |
from modules/graphics/opengl/VertexBuffer.h:29, |
11 |
from modules/graphics/opengl/VertexBuffer.cpp:21: |
12 |
/usr/include/GL/gl.h:2055:22: fatal error: GL/glext.h: No such file or directory |
13 |
#include <GL/glext.h> |
14 |
^ |
15 |
compilation terminated. |
16 |
<...> |
17 |
$ |
18 |
|
19 |
|
20 |
In fact, /usr/include/GL/glext.h is a relative symlink to |
21 |
../../lib64/opengl/global/include/GL/glext.h |
22 |
|
23 |
I'm missing the whole filesystem namespace /usr/lib64/opengl/global: |
24 |
$ ls /usr/lib64/opengl |
25 |
ati |
26 |
nvidia |
27 |
xorg-x11 |
28 |
$ |
29 |
|
30 |
|
31 |
Same problem with glxext.h. |
32 |
|
33 |
|
34 |
For now, I've created the missing directories (../opengl/{global/..}) |
35 |
and put the missing files downloaded from the opengl registry at |
36 |
|
37 |
https://www.opengl.org/registry |
38 |
|
39 |
but I wonder what I was missing in the first place. |
40 |
|
41 |
What ebuild creates the missing files in /usr/lib64/opengl/global ? I |
42 |
wasn't able to figure this out. |
43 |
|
44 |
What's the policy on such broken symlinks? I mean, wouldn't it be better |
45 |
for the ebuilds to include the target files in the archive and install |
46 |
them /if/ they are missing? |
47 |
|
48 |
|
49 |
-- |
50 |
Nicolas Sebrecht |