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:
  • ffmpeg
    • best to get from SVN
    • 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
  • 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

  • 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 {} \;