How to compile XBMC 11 in Fedora 16

This little guide will help to install (compile) World’s best Media Centre, XBMC, in Fedora OS (latest release is 16)

We will install XBMC with all nice features such as Airplay / Airtunes Support and HDMI-CEC (plug the USB adaptor before you start)

Please note that there is no HAL Support, as it is not used by Fedora anymore.
Also, there is no NFS Support, you should mount your Network Shares with SMB/CIFS or Apple Filing Protocol

All these commands are to be done with the root account, in a terminal session.

Prepare System

Activate RPM Fusion Repository:

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum update

 

Install Dependencies

yum install autoconf automake sysconftool libtool gettext-devel gcc-c++ boost-devel mesa-libGL-devel SDL-devel SDL-static glew-devel mysql-devel libass-devel libmpcdec-devel libmpeg2-devel libmad-devel libjpeg-turbo-devel libsamplerate-devel libogg-devel libvorbis-devel libmodplug-devel libcurl-devel flac-devel libgcrypt-devel bzip2-devel libtiff-devel lzo-devel libssh-devel bluez-libs-devel yajl-devel libsqlite3x-devel libpng-devel pcre-devel libcdio-devel libbluray-devel jasper-devel libvdpau-devel SDL_mixer-devel SDL_image-devel dbus-devel libmicrohttpd-devel pulseaudio-libs-devel avahi-devel libXt-devel libXmu-devel librtmp-devel libsmbclient-devel libplist-devel libudev-devel libusb-devel python-devel gperf readline-devel nasm expat-devel

Download XBMC source

Download source from http://mirrors.xbmc.org/releases/ and extract :

tar xzf xbmc-11.0-Eden_beta3.tar.gz
cd xbmc-11.0-Eden_beta3.1

Build included Dependencies

Building libshairport :

cd /path/to/xbmc-sources/lib/libshairport

make
make install

Building libdvdcss

cd /path/to/xbmc-sources/lib/libdvd/libdvdcss
./configure
make
make install

Building libafpclient

cd /path/to/xbmc-sources/lib/afpfs-ng

make
make install

cd /path/to/xbmc-sources/lib/libshairport

make
make install

Building libcec

cd  /path/to/xbmc-sources/lib/libcec
make
make install

Installation

Now it’s getting serious. In the XBMC Sources folder, do:

./bootstrap

./configure --enable-airplay --enable-airtunes --enable-libusb --enable-libcec

make

Take a walk in the park, this is going to take some time

make install

Afterwards, you can start XBMC directly via the Application Menu or via the command line:

xbmc

Voilà, there you go.

Permanent link to this article: https://www.hiscorebob.lu/2012/02/how-to-compile-xbmc-11-in-fedora-16/

1 comments

    • Billy on February 20, 2012 at 4:58 pm
    • Reply

    Thank you !

Hannerlosst eng Noriicht:

This site uses Akismet to reduce spam. Learn how your comment data is processed.