Mailing List Archive

Re: I've got them all installed!!!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 28 Jun 2007 23:04:29 -0400
ken jones <kjones@ziplink.net> wrote:

> Here are the important lines in the output of
> emerge -pv mesa eselect eselect-opengl glproto
> do they look correct?
>
> [ebuild R ] media-libs/mesa-6.5.1-r1 USE="motif nptl -debug -doc
> (-hardened)" VIDEO_CARDS="sunffb (-i810) -mach64 -mga -none -r128
> -radeon (-s3virge) -savage (-sis) -tdfx (-trident) (-via)" 0 kB
>
> [ebuild R ] app-admin/eselect-1.0.7 USE="-bash-completion -doc" 0 kB
>
> [ebuild R ] app-admin/eselect-opengl-1.0.5 0 kB
>
> [ebuild R ] x11-proto/glproto-1.4.8 USE="-debug" 0 kB
>
> Looking better.... startx does not work yet, but progress has been made.
>
> Ken Jones
>
Yes, that's what they are supposed to look like. Out of curiosity,
what was the problem that had you hung up?

A combination of whatever it is that startx complains about and the X
log file at /var/log/Xorg.0.log should be enough to figure out what
else needs to be done. You can look at the attached xorg.conf file for
an example of one that works for me with a Creator framebuffer and a
2.6.20 kernel on four different systems. (Sun keyboard configuration
and Creator setup might seem unusual if you are unfamiliar with them.
Just about the only "options" the sunffb driver care about are DPMS and
the screen depth, which must be specified and must be 24.)

Please keep me informed as to progress, and feel free to get in touch
if you need anything.

Regards,

- --
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Sparc, Devrel)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)

iD8DBQFGhJwjQa6M3+I///cRAsLbAJ9J3R50Malhr1FU+Dbbq4HR4Hr1KwCfTY5k
jv17u9jj85ujDjh+Vsg3wug=
=xlkL
-----END PGP SIGNATURE-----
Re: I've got them all installed!!! [ In reply to ]
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,
--
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)
Re: I've got them all installed!!! [ In reply to ]
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@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)
Re: I've got them all installed!!! [ In reply to ]
On Fri, 2007-06-29 at 11:12 -0400, ken jones wrote:
> Here is the gist of the problem.....
> opengl installs but can not be use.
>
> -------------------------snip------------
> kjones-sun2 media-libs # emerge opengl
> Calculating dependencies... done!
> >>> Verifying ebuild Manifests...
>
> >>> Emerging (1 of 1) virtual/opengl-7.0 to /
> * checking ebuild checksums ;-)
> ... [ ok ]
> * checking auxfile checksums ;-)
> ... [ ok ]
> * checking miscfile checksums ;-)
> ... [ ok ]
===================
See my other response, please. 'emerge opengl' does not install
anything. What you need is
emerge eselect-opengl
in order to be able to set an opengl implementation.
> >
--
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)