FC5 Build

Building on FC5 requires a uptodate system with the latest versions of the standard development tools installed i.e. gcc, pkgconfig, etc.

System Update

  • do a full system update
    • as root: yum update
    • this will take some time
  • install opengl
    • search YUM for GLU
    • I used mesa-libGLU-devel.i386

Dependencies

  • install boost-devel
  • 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
    • configure with:
      • ./configure --enable-shared --disable-static --disable-vhook --enable-libmp3lame --enable-libfaad
      • note that for FAAD2 support you need to add --enable-gpl
    • make, sudo make install

openlibraries

  • dependencies (none of these require livina)
  • OpenAL: sudo yum install openal-devel.i386
  • GLUT: sudo yum install freeglut-devel.i386
  • configure openlibraries
    • you may need to update the qt paths
      • default is /usr/lib/qt3, on FC5 this is /usr/lib/qt-3.3
    • ./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 {} \;
    • i got context errors so i did this
      • sudo find /usr/local/lib/ -name '*.so*' -exec chcon -R -h root:object_r:texrel_shlib_t {} \;
      • chcon -h system_u:object_r:texrel_shlib_t /usr/local/lib