From 5dbd0a400a35e997c1368d661dc80c450342fd86 Mon Sep 17 00:00:00 2001
From: Brian Paul
To compile stand-alone Mesa type make in the top-level directory. You'll see a list of supported system configurations. @@ -41,17 +43,26 @@ Choose one from the list (such as linux-x86), and type:
This will produce libGL.so and several other libraries
-To build the DRI drivers you'll first need to have the DRM (Direct -Rendering Manager) kernel drivers and header files. -They're available from the DRI project. +Prerequisites:
+ ++DRM kernel modules and header files from the +DRI project. +
+-Your distribution should already have both the kernel modules and support -library already installed. If not, you can get them from CVS by doing: +If you don't already have the DRM file, you can get the sources from +CVS by doing:
cvs -z3 -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri co drm@@ -61,21 +72,44 @@ DRI Building Instructions for the steps to build the DRM modules. Mesa 6.5 requires at least libdrm 2.0.1 or greater.
-Build Mesa and the DRI drivers by running
+You can verify that the DRM files have been properly installed by
+running pkg-config --modversion libdrm
+
+
You'll need this if you get any errors about _GLXvop_BindTexImageEXT +being undefined. +
+The latest version can be +obtained from freedesktop.org CVS +
++Build Mesa and the DRI hardware drivers by running
-make linux-dri + make linux-dri
There are also linux-dri-x86
, linux-dri-x86-64
,
-and linux-ppc
configurations, optimized for those architectures.
-
-Finally, you'll need a DRI-enabled X server from
-
-X.org or XFree86.
-Visit those projects' home pages for more information.
+and linux-ppc
configurations which are optimized for those
+architectures.
+-rwxr-xr-x 1 brian users 15607851 Jul 21 12:11 ffb_dri.so* +-rwxr-xr-x 1 brian users 15148747 Jul 21 12:11 i810_dri.so* +-rwxr-xr-x 1 brian users 14497814 Jul 21 12:11 i830_dri.so* +-rwxr-xr-x 1 brian users 16895413 Jul 21 12:11 i915_dri.so* -rwxr-xr-x 1 brian users 11320803 Jul 21 12:11 mach64_dri.so -rwxr-xr-x 1 brian users 11418014 Jul 21 12:12 mga_dri.so -rwxr-xr-x 1 brian users 11064426 Jul 21 12:12 r128_dri.so -rwxr-xr-x 1 brian users 11849858 Jul 21 12:12 r200_dri.so +-rwxr-xr-x 1 brian users 16050488 Jul 21 12:11 r300_dri.so* -rwxr-xr-x 1 brian users 11757388 Jul 21 12:12 radeon_dri.so -rwxr-xr-x 1 brian users 11232304 Jul 21 12:13 s3v_dri.so -rwxr-xr-x 1 brian users 11062970 Jul 21 12:13 savage_dri.so -- cgit v1.2.3