in Tutorials

How-To compile Mesa under Ubuntu GNU-Linux

This is a simple guide to build mesa under GNU-Linux.

The dependencies required are for Ubuntu 11.04,  they may differ.

General dependencies

GL_PROTO installation

The version or some libraries given with Ubuntu are quite old, so we will install our own up-to-date versions.

LIBDRM

dri2proto

Environment variables

In order to defines our locally installed dependencies the followings environment variables are required.

Some parameters can also be given with teh configure command.

Other informations

http://dri.freedesktop.org/wiki/Building