Difference between revisions of "Xorg7/MesaLib"
(→64Bit: Mesa Demos) |
|||
(31 intermediate revisions by 8 users not shown) | |||
Line 3: | Line 3: | ||
!Download Source: | !Download Source: | ||
|-valign="top" | |-valign="top" | ||
− | | | + | | ftp://ftp.freedesktop.org/pub/mesa/7.9/MesaLib-{{Mesa-Version}}.tar.gz |
|-valign="top" | |-valign="top" | ||
− | | | + | | ftp://ftp.freedesktop.org/pub/mesa/7.9/MesaGLUT-{{Mesa-Version}}.tar.bz2 |
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 19: | Line 15: | ||
* MesaLib - the main Mesa library source code, drivers and documentation. | * MesaLib - the main Mesa library source code, drivers and documentation. | ||
− | |||
* MesaGLUT - provides a working libglut. | * MesaGLUT - provides a working libglut. | ||
− | + | You'll often only need the first package. However, there are a few packages that can use a GLUT library (such as [[LibTIFF]]), so you may wish to install MesaGLUT as well. If you choose to install MesaGLUT, extract all two tarballs from the same toplevel directory. All two will extract to the Mesa-{{Mesa-Version}} directory. | |
<b>Homepage:</b> http://www.mesa3d.org/ | <b>Homepage:</b> http://www.mesa3d.org/ | ||
Line 30: | Line 25: | ||
=== Required === | === Required === | ||
* Xorg [[Xorg7/Protocol_Headers|Protocol Headers]] glproto >=1.4.5 | * Xorg [[Xorg7/Protocol_Headers|Protocol Headers]] glproto >=1.4.5 | ||
− | * Xorg [[Xorg7/Libraries|Libraries]] | + | * Xorg [[Xorg7/Libraries|Libraries]] (including the Xdamage protocol) |
* Xorg [[Xorg7/Utilities|Utilities]] | * Xorg [[Xorg7/Utilities|Utilities]] | ||
* [[Xorg7/libdrm|libdrm]] | * [[Xorg7/libdrm|libdrm]] | ||
+ | * [[talloc]] | ||
=== Optional === | === Optional === | ||
+ | * [[SELinux]] | ||
* [[XCB]] | * [[XCB]] | ||
− | { | + | == Configuration Information == |
+ | |||
+ | {| | ||
+ | |- | ||
+ | |''--enable-xcb:'' enables the use of the optional dependency XCB. | ||
+ | |} | ||
== Non-Multilib == | == Non-Multilib == | ||
− | + | Configure the package: | |
− | |||
− | |||
− | |||
− | |||
− | + | ./configure $XORG_CONFIG | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
− | make | + | make |
Install the package: | Install the package: | ||
Line 70: | Line 55: | ||
make install | make install | ||
− | + | == Multilib == ""NEEDS UPDATING"" | |
− | |||
− | |||
− | |||
− | |||
− | == Multilib == | ||
=== 32Bit === | === 32Bit === | ||
Line 83: | Line 63: | ||
mv Mesa-{{Mesa-Version}}{,-32} && | mv Mesa-{{Mesa-Version}}{,-32} && | ||
cd Mesa-{{Mesa-Version}}-32 | cd Mesa-{{Mesa-Version}}-32 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
− | make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" | + | ./configure $XORG_CONFIG32 --enable-32-bit && \ |
− | + | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | |
+ | make CC="gcc ${BUILD32} -I$XORG_PREFIX/include" \ | ||
+ | CXX="g++ ${BUILD32} -I$XORG_PREFIX/include" | ||
+ | |||
Install the package: | Install the package: | ||
Line 120: | Line 82: | ||
mv Mesa-{{Mesa-Version}}{,-n32} && | mv Mesa-{{Mesa-Version}}{,-n32} && | ||
cd Mesa-{{Mesa-Version}}-n32 | cd Mesa-{{Mesa-Version}}-n32 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
− | PKG_CONFIG_PATH="${ | + | PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ |
− | make CC="gcc ${ | + | ./configure $XORG_CONFIGN32 --enable-32-bit && \ |
− | + | PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | |
+ | make CC="gcc ${BUILDN32} -I$XORG_PREFIX/include" \ | ||
+ | CXX="g++ ${BUILDN32} -I$XORG_PREFIX/include" | ||
+ | |||
Install the package: | Install the package: | ||
Line 157: | Line 101: | ||
mv Mesa-{{Mesa-Version}}{,-64} && | mv Mesa-{{Mesa-Version}}{,-64} && | ||
cd Mesa-{{Mesa-Version}}-64 | cd Mesa-{{Mesa-Version}}-64 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
− | make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" | + | ./configure $XORG_CONFIG64 --enable-64-bit && \ |
+ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
+ | make CC="gcc ${BUILD64} -I$XORG_PREFIX/include" \ | ||
+ | CXX="g++ ${BUILD64} -I$XORG_PREFIX/include" | ||
Install the package: | Install the package: | ||
make install | make install | ||
+ | |||
+ | == For older Mesa Packages only == | ||
+ | The Mesa Demos are in an own package now - needs to be configured and made seperately | ||
If you would like to build and install glxinfo and glxgears execute the following command: | If you would like to build and install glxinfo and glxgears execute the following command: |
Latest revision as of 14:42, 10 January 2012
Download Source: |
---|
ftp://ftp.freedesktop.org/pub/mesa/7.9/MesaLib-7.9.tar.gz |
ftp://ftp.freedesktop.org/pub/mesa/7.9/MesaGLUT-7.9.tar.bz2 |
Back to libdrm
Contents
Introduction to Mesa
Mesa is an OpenGL compatible 3D library. Three packages are available.
- MesaLib - the main Mesa library source code, drivers and documentation.
- MesaGLUT - provides a working libglut.
You'll often only need the first package. However, there are a few packages that can use a GLUT library (such as LibTIFF), so you may wish to install MesaGLUT as well. If you choose to install MesaGLUT, extract all two tarballs from the same toplevel directory. All two will extract to the Mesa-7.9 directory.
Homepage: http://www.mesa3d.org/
Dependencies
Required
- Xorg Protocol Headers glproto >=1.4.5
- Xorg Libraries (including the Xdamage protocol)
- Xorg Utilities
- libdrm
- talloc
Optional
Configuration Information
--enable-xcb: enables the use of the optional dependency XCB. |
Non-Multilib
Configure the package:
./configure $XORG_CONFIG
Compile the package:
make
Install the package:
make install
== Multilib == ""NEEDS UPDATING""
32Bit
The Mesa source is needed to build Xorg7/Xserver, save the Mesa source tree for use with the build.
mv Mesa-7.9{,-32} && cd Mesa-7.9-32
Compile the package:
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ ./configure $XORG_CONFIG32 --enable-32-bit && \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ make CC="gcc ${BUILD32} -I$XORG_PREFIX/include" \ CXX="g++ ${BUILD32} -I$XORG_PREFIX/include"
Install the package:
make install
N32
The Mesa source is needed to build Xorg7/Xserver, save the Mesa source tree for use with the build.
mv Mesa-7.9{,-n32} && cd Mesa-7.9-n32
Compile the package:
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ ./configure $XORG_CONFIGN32 --enable-32-bit && \ PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ make CC="gcc ${BUILDN32} -I$XORG_PREFIX/include" \ CXX="g++ ${BUILDN32} -I$XORG_PREFIX/include"
Install the package:
make install
64Bit
The Mesa source is needed to build Xorg7/Xserver, save the Mesa source tree for use with the build.
mv Mesa-7.9{,-64} && cd Mesa-7.9-64
Compile the package:
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ ./configure $XORG_CONFIG64 --enable-64-bit && \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ make CC="gcc ${BUILD64} -I$XORG_PREFIX/include" \ CXX="g++ ${BUILD64} -I$XORG_PREFIX/include"
Install the package:
make install
For older Mesa Packages only
The Mesa Demos are in an own package now - needs to be configured and made seperately
If you would like to build and install glxinfo and glxgears execute the following command:
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ make CC="gcc ${BUILD64}" -C progs/xdemos glxinfo glxgears && install -m755 -v progs/xdemos/{glxinfo,glxgears} /usr/bin
Forward to xbitmaps
Contents
Installed Directories: | /usr/include/GLES |
---|---|
Installed Programs: | None |
Installed Libraries: | libGL.so, libGLU.so, libGLw.so, libOSMesa.so, libglut.so |