XFree86-4.2.0-r4 looks good but it have a problem: no libGLU.la It can't build things that uses libtool to find libs: gnome-python /bin/sh ./libtool --mode=link gcc -mcpu=i686 -march=i686 -O3 -pipe -o _gtkglmodule.la -rpath /usr/lib/python2.2/site-packages -module -avoid-version gtkglmodule.lo -lgtkgl -lGLU -lGL -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 -lm grep: /usr/lib/libGLU.la: No such file or directory sed: can't read /usr/lib/libGLU.la: No such file or directory libtool: link: `/usr/lib/libGLU.la' is not a valid libtool archive Add libGL.la/libGLU.la to XFree86-4.2.0-r4 installation!
Files are provided by media-libs/mesa-3.5 and media-libs/mesa-glu-3.5
Small correction. media-libs/mesa-glu-3.5 is required, doesn't look like media-libs/mesa-3.5 is. Might be a good idea to install it anyway. Also I don't think there is such a thing as libGL.la, just libGLU.la The NVIDIA drivers (from NVIDIA's site, not the gentoo ones) actually removes the libGLU.la file when you install it. Is this what you did?
Hmm .. i commited xfree-4.2.0-r5 hours ago ... it have libGLU and the .la libtool files. The files from mesa cannot be used for xfree's libs unchanged afiak, so merge -r5, or cp the files in files/4.2.0-r5/lib/ to /usr/X11R6/lib It works here with reported failures.
First: XFree86-4.2.0-r4 and up have Mesa GL/GLU build included! With he new XFree86-4.2.0-r5 you only need to install media-gfx/nvidia to get GL and GLU! I will build it now. To Bill: The problems start with Mesa 3.5 because it is building GLU against MesaOS that depend on the Mesa version of libGL.so See http://bugs.gentoo.org/show_bug.cgi?id=245 -- the rest is related to this bug: NVIDIA can't use the libGLU.la from Mesa >=3.5 and the gl.h from nvidia don't define GLAPI and GLAPIENTRY that is needed for Mesa glu.h >= 3.5!
I have install XFree-4.2.0-r5 It also require a rebuild of all libs that use libtool and libGL* I don't use media-lib/mesa(-glu) with XFree-4.2.0-r5 :-) I found a bug in /usr/X11R6/lib/libGLU.la: dependency_libs=' -L/usr/X11R6/lib /usr/X11R6/libGL.la -lSM -lICE -lXmu -lXt -lXext -lXi -lX11 -lpthread libGL.la is not install in /usr/X11R6/libGL.la but in /usr/X11R6/lib/libGL.la do a 'sed s#/usr/X11R6/libGL.la#/usr/X11R6/lib/libGL.la#' on /usr/X11R6/lib/libGLU.la This will not help nvidia libGL.la because it is in /usr/lib/ We need a symlink from /usr/lib/libGL.* to /usr/X11R6/lib/libGL.* in the nvidia ebuild, so that libtool can find /usr/X11R6/lib/libGL.{so,la}.
Now it works --- the last fix of libGLU.la cvs v1.3 is OK :-). You can close the bug with XFree-4.2.0-r5.