On Fri, 2007-06-29 at 11:03 -0400, ken jones wrote:
> Ferris,
> opengl does not work.
>
> -------------------snip----------------
> kjones-sun2 GL # emerge -pv opengl
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] virtual/opengl-7.0 0 kB
>
virtual/opengl does not install anything.
> Total: 1 package (1 reinstall), Size of downloads: 0 kB
> kjones-sun2 GL # eselect opengl set xorg-x11
> !!! Error: Can't load module opengl
> Killed
For some reason, it thinks you have eselect-opengl installed, but it
can't find its file. You can set up the symlinks by hand. But your
system will never build nicely until you get eselect-opengl installed
properly, because many ebuilds will try to use it.
> kjones-sun2 GL #
> ------------------end snip------------------
>
You did 'emerge eselect-opengl' successfully? It has three files:
polylepis ~ # qlist eselect-opengl
/usr/share/eselect/modules/opengl.eselect
/usr/lib/opengl/global/include/glext.h
/usr/lib/opengl/global/include/glxext.h
(qlist is part of portage-utils --- emerge it please, if you have not
yet, then try the command I show above.)
The module is this one:
/usr/share/eselect/modules/opengl.eselect
And
eselect opengl list
should show you which implementations of opengl you have installed
(for you, xorg-x11).
Now, you can force a build of eselect-opengl like this:
ebuild /usr/portage/app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild
install
(one command line)
At that point, those 3 files will be installed in
/var/tmp/portage/app-admin/eselect-opengl-1.0.5/image
Then, either
ebuild /usr/portage/app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild
qmerge
will install them, or you can copy them to where they belong by hand.
But I see no way you can get a clean install from
emerge eselect-opengl
and not be able to use it.
> sigh....
>
> Ken
>
> Ferris McCormick wrote:
> > On Fri, 2007-06-29 at 09:50 -0400, ken jones wrote:
> >
> >> Ferris:
> >> Look't this.
> >>
> >> kjones-sun2 GL # emerge -pv xorg-x11
> >>
> >> These are the packages that would be merged, in order:
> >>
> >> Calculating dependencies... done!
> >> [ebuild N ] virtual/opengl-7.0 0 kB
> >> [ebuild N ] media-libs/freeglut-2.4.0-r1 0 kB
> >> [ebuild N ] virtual/glut-1.0 0 kB
> >> [ebuild N ] x11-apps/mesa-progs-6.5.1 1,289 kB
> >> [ebuild N ] x11-base/xorg-x11-7.1 0 kB
> >>
> >> Total: 5 packages (5 new), Size of downloads: 1,289 kB
> >>
> >> I just did emerge xorg-x11. It hung up on freeglut. Looks like the
> >> same problem. Incorrect links.
> >> Might as well try my technique some more. Nothing to lose.
> >>
> >> Ken
> >>
> >> Ken
> >>
> >
> > I am surprised that
> > eselect opengl set xorg-x11
> > does not take care of all of the symlinks for you. Have you tried that?
> >
> >
> >> -----------------------------------------------
> >>
> >
> > Regards,
> >
Confused,
--
Ferris McCormick (P44646, MI) <fmccor@g.o>
Developer, Gentoo Linux (Devrel, Sparc)
|