This is a draft... based on a freash install of ubuntu 6. This has only been tested on Ubuntu 6 on i386 under VMware 6. This document is a work in progress feel free to help out!
Ubuntu 6 Build
Building on Ubuntu 6 (Dapper Drake) appears to be very straight forward; this assumed that your ubuntu installation has the standard development tools installed i.e. gcc, pkgconfig, etc.
- first step is to make sure you have the developer tools installed as they are not installed by default. to install them just type
- sudo apt-get install build-essential into a terminal.
- you may also need the header files for the kernel...
- sudo apt-get install linux-headers-uname -r
- the you need to make sure you have subversion installed
- sudo apt-get install subversion
- you should then update all core system files
- sudo apt-get upgrade
- you should then installl the developer tools
- sudo apt-get install automake libtool
openlibraries
- checkout: svn co https://openlibraries.svn.sourceforge.net/svnroot/openlibraries openlibraries
dependencies
- main dependencies
- boost: sudo apt-get install libboost.* (installs boost 1.33)
- SDL: sudo apt-get install libsdl1.2-all
- python: probably installed already
- optional dependencies (we advise you fill them all)
- ffmpeg (see below)
- GLEW: sudo apt-get install libglew*
- GLUT: sudo apt-get install freeglut*
- OpenAL: (couldnt figure this one out)
- openEXR: sudo yum install sudo apt-get install libopenexr*
FFMPEG
<<< THIS SECTION WAS SKIPPED >>>
- for ffmpeg includes you should use the dag repository
- see http://dag.linux.iastate.edu
- follow the instructions under Configuring yum To Use This Repository and dont forget to Install Dag's GPG Key
- ffmpeg
- get the latest ffmpeg from svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
- if you want full media supprt you need to get the dependencies
- lame, faac, faad2 can be retrieved from dag: sudo yum install faac-devel.i386 faad2-devel.i386 lame-devel.i386
- amr requires manual build and install:
- get tarballs for both nb and wb from here: http://www.penguin.cz/~utx/amr
- unzip, untar, for both (current versions 7.0.0) no problems building
- for both do: ./configure, make, sudo make install
- configure with:
- ./configure --enable-shared --disable-static --disable-vhook --enable-libamr-nb --enable-libamr-wb --enable-libmp3lame --enable-libfaad
- note that for FAAD2 support you rneed to add --enable-gpl and for libamr you need to add --enable-nonfree
- i was unable to compile with faac support and had to disable it to move ahead
- make, sudo make install
<<< THIS SECTION WAS SKIPPED >>>
compiling openlibraries
- configure openlibraries
- ./bootstrap
<<< THE REST OF THIS DOCUMENT IS UNDER DEVELOPMENT THIS IS AS FAR AS WE GOT >>>
- configure:
- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
- ./configure --enable-gpl --with-pythonversion=2.4 --with-boostthreadruntime=mt
- make, sudo make install
