From f5557c3a528fbad3750aaa18595dc3548b600609 Mon Sep 17 00:00:00 2001
From: Dan Nicholson make install
.
But first, check the Mesa/configs/default file and examine the values
of the INSTALL_DIR and DRI_DRIVER_INSTALL_DIR variables.
-Change them if needed, then run make install
+Change them if needed, then run make install
.
+
+The variable
+DESTDIR may also be used to install the contents to a temporary
+staging directory.
+This can be useful for package management.
+For example: make install DESTDIR=/somepath/
--
cgit v1.2.3
From 5bba58ca2215a3c3827e4bbb280eab7ceaa913e9 Mon Sep 17 00:00:00 2001
From: Brian
+Running make install
will install package configuration files
+for the pkg-config utility.
+
+When compiling your OpenGL application you can use pkg-config to determine +the proper compiler and linker flags. +
+ ++For example, compiling and linking a GLUT application can be done with: +
++ gcc `pkg-config --cflags --libs glut` mydemo.c -o mydemo ++ +
-DRM kernel modules and header files from the -DRI project. +For Mesa 7.0.2 +DRM version 2.3 is required.
--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 --
-See the -DRI Building Instructions for the steps to build the DRM modules. Mesa -6.5 requires at least libdrm 2.0.1 or greater. -
-
-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.
+To check if you already have it, run:
+
+pkg-config --modversion libdrm
-Download/install the
-glproto
-module from X.org git, or grab the
-glxproto.h file and put it in the
-Mesa/include/GL/ directory.
+You can download and install a
+tarball release or get the code from git with:
+
+git clone git://anongit.freedesktop.org/git/mesa/drm
+
+Then revert to the drm-2.3.0 tag with:
+
+git-reset --hard drm-2.3.0
Visit -XFree86 -or +