A working set of libdrm, mesa and xorg-server?

Dan Nicholson dbn.lists at gmail.com
Mon Jul 7 10:10:00 PDT 2008


On Mon, Jul 7, 2008 at 8:36 AM, Adam Jackson <ajax at nwnk.net> wrote:
>
> The mesa build is easily the least pleasant of the lot, though it's
> significantly prettier now that the configure script more or less does
> what I want.  Note that there _is_ a bootstrapping problem: you need a
> libglut around to link most of the demos.  You can get one by doing a
> Mesa libs build before building the demos, but the one included in Mesa
> is widely considered non-free.

It depends which demos you want to build. Brian converted the xdemos
(glxgears and friends) to be GL only, so you don't need glut in that
case. But, yeah, it looks like your whole mesa-demos subpackage needs
glut.

I also notice that you're manually installing the DRI drivers. It
might be cleaner if you just passed --with-dri-drivers to configure
and handle your list with rpm. `make install' should do the right
thing.

%ifarch s390 s390x
%define with_dri 0
%define driver xlib
%define dri_drivers %{nil}
%else
%define with_dri 1
%define driver dri
%define dri_drivers i810 i915 i965 mach64 mga r128 r200 r300 radeon
savage sis swrast tdfx unichrome
%endif

...

%configure \
...
--with-dri-drivers="%{dri_drivers}"


Let me know if you find any particular suckage in the mesa build. Most
things can be fixed, they just require patience to find all the spots
to fix.

--
Dan



More information about the xorg mailing list