Samstag, 22. Januar 2011

XBMC under Debian 5.0 - Lenny

After some fun with compiling XBMC under Debian I will post my way to do it, maybe it will help someone.

Update your system with the following commands:
...
# apt-get update
# apt-get upgrade
...

Install additional Software:
...
# apt-get install cvs subversion make g++ gcc gawk ccache pmount libtool nasm automake cmake gperf unzip bison debhelper libxtst-dev gettext python-support cmake autotools-dev autoconf automake unzip libboost-dev zip libtool libgl1-mesa-dev libglu1-mesa-dev libglu-dev libglew-dev libmad0-dev libjpeg-dev libsamplerate-dev libogg-dev libvorbis-dev libfreetype6-dev libfontconfig-dev libbz2-dev libfribidi-dev libsqlite3-dev libmysqlclient-dev libasound-dev libpng12-dev libpng-dev libpcre3-dev liblzo2-dev libcdio-dev libsdl-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libenca-dev libjasper-dev libxt-dev libxtst-dev libxmu-dev libxinerama-dev libcurl4-gnutls-dev libdbus-1-dev libhal-storage-dev libhal-dev libpulse-dev libavahi-common-dev libavahi-client-dev libxrandr-dev libavcodec-dev libavformat-dev libavutil-dev libpostproc-dev libswscale-dev libmpeg2-4-dev libmpcdec-dev libflac-dev libwavpack-dev python-dev gawk gperf nasm libcwiid1-dev libbluetooth-dev zlib1g-dev libmms-dev libsmbclient-dev libfaad-dev libiso9660-dev libssl-dev lsb-release libmicrohttpd-dev libmodplug-dev curl
...

After the installation of this "little" tools you need to do the following:
...
$cd /usr/local/src/
$svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ xbmc
...

This will take some time, so go trinking tea or milk. ;)

After all files are copyied from sourceforge you can do the following commands:
...
$ cd xbmc
$ ./bootstrap
$ ./configure
...

Build the files:
...
$ make
...

Install XBMC
...
# make install
...

When all is going well you can start XBMC inside your X11 Server.