FC8 Build
Building on FC8 appears to be very straight forward; this assumed that FC8 has the standard development tools installed i.e. gcc, pkgconfig, etc.
Dependencies
- for ffmpeg includes you should add livna as a repository yum should use:
- get http://rpm.livna.org/livna-release-8.rpm
- install by double clicking, or use yum command line tool
- ffmpeg
- best to get from SVN
- get the latest ffmpeg from svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
- get dependencies
- lame, faac, faad2 can be retrieved from livna: 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
- best to get from SVN
- note that for FAAD2 support you rneed to add --enable-gpl
- note that for libamr you need to add --enable-nonfree
- make, sudo make install
openlibraries
- checkout: svn co https://openlibraries.svn.sourceforge.net/svnroot/openlibraries openlibraries
- cd openlibraries/trunk
- dependencies (none of these require livina)
- boost: probably installed already, check with yum list boost-devel.i386
- ffmpeg (see above)
- openEXR: sudo yum install OpenEXR-devel.i386
- SDL: probably installed already, check with yum list SDL-devel.i386
- python: probably installed already, check with yum list python-devel.i386
- GLEW: sudo yum install glew-devel.i386
- OpenAL: sudo yum install openal-devel.i386
- GLUT: sudo yum install freeglut-devel.i386
- configure openlibraries
- ./bootstrap
- configure:
- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
- ./configure --enable-gpl --with-pythonversion=2.5 --with-boostthreadruntime=mt
- make, sudo make install
- SELinux
- if you have SELinux enabled, then you will need to modify the openlibraries .so to allow text relocation. This can be done as follows:
- sudo find /usr/local/lib/ -name '*.so*' -exec chcon -t texrel_shlib_t {} \;
- if you have SELinux enabled, then you will need to modify the openlibraries .so to allow text relocation. This can be done as follows:
