1 |
On Fri, 2007-06-29 at 11:03 -0400, ken jones wrote: |
2 |
> Ferris, |
3 |
> opengl does not work. |
4 |
> |
5 |
> -------------------snip---------------- |
6 |
> kjones-sun2 GL # emerge -pv opengl |
7 |
> |
8 |
> These are the packages that would be merged, in order: |
9 |
> |
10 |
> Calculating dependencies... done! |
11 |
> [ebuild R ] virtual/opengl-7.0 0 kB |
12 |
> |
13 |
virtual/opengl does not install anything. |
14 |
> Total: 1 package (1 reinstall), Size of downloads: 0 kB |
15 |
> kjones-sun2 GL # eselect opengl set xorg-x11 |
16 |
> !!! Error: Can't load module opengl |
17 |
> Killed |
18 |
|
19 |
For some reason, it thinks you have eselect-opengl installed, but it |
20 |
can't find its file. You can set up the symlinks by hand. But your |
21 |
system will never build nicely until you get eselect-opengl installed |
22 |
properly, because many ebuilds will try to use it. |
23 |
|
24 |
> kjones-sun2 GL # |
25 |
> ------------------end snip------------------ |
26 |
> |
27 |
|
28 |
You did 'emerge eselect-opengl' successfully? It has three files: |
29 |
polylepis ~ # qlist eselect-opengl |
30 |
/usr/share/eselect/modules/opengl.eselect |
31 |
/usr/lib/opengl/global/include/glext.h |
32 |
/usr/lib/opengl/global/include/glxext.h |
33 |
|
34 |
(qlist is part of portage-utils --- emerge it please, if you have not |
35 |
yet, then try the command I show above.) |
36 |
|
37 |
The module is this one: |
38 |
/usr/share/eselect/modules/opengl.eselect |
39 |
|
40 |
And |
41 |
eselect opengl list |
42 |
should show you which implementations of opengl you have installed |
43 |
(for you, xorg-x11). |
44 |
|
45 |
Now, you can force a build of eselect-opengl like this: |
46 |
ebuild /usr/portage/app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild |
47 |
install |
48 |
(one command line) |
49 |
At that point, those 3 files will be installed in |
50 |
/var/tmp/portage/app-admin/eselect-opengl-1.0.5/image |
51 |
Then, either |
52 |
ebuild /usr/portage/app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild |
53 |
qmerge |
54 |
will install them, or you can copy them to where they belong by hand. |
55 |
|
56 |
But I see no way you can get a clean install from |
57 |
emerge eselect-opengl |
58 |
and not be able to use it. |
59 |
|
60 |
|
61 |
> sigh.... |
62 |
> |
63 |
> Ken |
64 |
> |
65 |
> Ferris McCormick wrote: |
66 |
> > On Fri, 2007-06-29 at 09:50 -0400, ken jones wrote: |
67 |
> > |
68 |
> >> Ferris: |
69 |
> >> Look't this. |
70 |
> >> |
71 |
> >> kjones-sun2 GL # emerge -pv xorg-x11 |
72 |
> >> |
73 |
> >> These are the packages that would be merged, in order: |
74 |
> >> |
75 |
> >> Calculating dependencies... done! |
76 |
> >> [ebuild N ] virtual/opengl-7.0 0 kB |
77 |
> >> [ebuild N ] media-libs/freeglut-2.4.0-r1 0 kB |
78 |
> >> [ebuild N ] virtual/glut-1.0 0 kB |
79 |
> >> [ebuild N ] x11-apps/mesa-progs-6.5.1 1,289 kB |
80 |
> >> [ebuild N ] x11-base/xorg-x11-7.1 0 kB |
81 |
> >> |
82 |
> >> Total: 5 packages (5 new), Size of downloads: 1,289 kB |
83 |
> >> |
84 |
> >> I just did emerge xorg-x11. It hung up on freeglut. Looks like the |
85 |
> >> same problem. Incorrect links. |
86 |
> >> Might as well try my technique some more. Nothing to lose. |
87 |
> >> |
88 |
> >> Ken |
89 |
> >> |
90 |
> >> Ken |
91 |
> >> |
92 |
> > |
93 |
> > I am surprised that |
94 |
> > eselect opengl set xorg-x11 |
95 |
> > does not take care of all of the symlinks for you. Have you tried that? |
96 |
> > |
97 |
> > |
98 |
> >> ----------------------------------------------- |
99 |
> >> |
100 |
> > |
101 |
> > Regards, |
102 |
> > |
103 |
Confused, |
104 |
-- |
105 |
Ferris McCormick (P44646, MI) <fmccor@g.o> |
106 |
Developer, Gentoo Linux (Devrel, Sparc) |