Posted by & filed under Linux.

This is my adventure trying to get XBMC installed on my Debian server. Long story short it doesn’t end well.

tlhunter@titan:~/xbmc$ git clone git://github.com/xbmc/xbmc.git
tlhunter@titan:~/xbmc$ cd xbmc.
tlhunter@titan:~/xbmc/xbmc$ ./bootstrap
./bootstrap: 5: ./bootstrap: autoreconf: not found
tlhunter@titan:~/xbmc/xbmc$ sudo apt-get install dh-autoreconf
tlhunter@titan:~/xbmc/xbmc$ ./bootstrap
tlhunter@titan:~/xbmc/xbmc$ ./configure
checking for main in -lGL... no
configure: error: Could not find a required library. Please see the README for your platform.
tlhunter@titan:~/xbmc/xbmc$ less README.linux
tlhunter@titan:~/xbmc/xbmc$ sudo apt-get install debhelper python-support cmake autotools-dev autoconf automake unzip libboost-dev zip libtool libgl-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 libasound2-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 libxmu-dev libxinerama-dev libcurl-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 libass-dev libmpcdec-dev libflac-dev python-dev gawk gperf nasm [!amd64] libcwiid1-dev libbluetooth-dev zlib1g-dev libsmbclient-dev libboost-thread-dev libiso9660-dev libssl-dev lsb-release libvdpau-dev libmicrohttpd-dev libmodplug-dev librtmp-dev libcrystalhd-dev curl python-dev libyajl-dev libplist-dev libusb-dev libudev-dev libltdl-dev
... apt-get flips its shit ...
tlhunter@titan:~/xbmc/xbmc$ cd ..
tlhunter@titan:~/xbmc$ rm -rf xbmc/
tlhunter@titan:~/xbmc$ wget http://debian-multimedia.org/pool/main/x/xbmc-dmo/xbmc-data_11.0-0.1_all.deb
tlhunter@titan:~/xbmc$ sudo dpkg -i xbmc-data_11.0-0.1_all.deb
Selecting previously unselected package xbmc-data.
(Reading database ... 115552 files and directories currently installed.)
Unpacking xbmc-data (from xbmc-data_11.0-0.1_all.deb) ...
dpkg: dependency problems prevent configuration of xbmc-data:
xbmc-data depends on xbmc-bin (>= 3:11.0-0.1); however:
Package xbmc-bin is not installed.
xbmc-data depends on xbmc-bin (<< 3:11.0-0.1.1~); however:
Package xbmc-bin is not installed.
dpkg: error processing xbmc-data (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
xbmc-data
tlhunter@titan:~/xbmc$ wget http://debian-multimedia.org/pool/main/x/xbmc-dmo/xbmc-bin_11.0-0.1_amd64.deb
tlhunter@titan:~/xbmc$ sudo dpkg -i xbmc-bin_11.0-0.1_amd64.deb Selecting previously unselected package xbmc-bin.
(Reading database ... 116337 files and directories currently installed.)
Unpacking xbmc-bin (from xbmc-bin_11.0-0.1_amd64.deb) ...
dpkg: dependency problems prevent configuration of xbmc-bin:
xbmc-bin depends on libavcodec53 (>= 5:0.10.2); however:
Version of libavcodec53 on system is 4:0.8-2.
xbmc-bin depends on libavfilter2 (>= 5:0.10.2); however:
Version of libavfilter2 on system is 4:0.8-2.
xbmc-bin depends on libavformat53 (>= 5:0.10.2); however:
Version of libavformat53 on system is 4:0.8-2.
xbmc-bin depends on libavutil51 (>= 5:0.10.2); however:
Version of libavutil51 on system is 4:0.8-2.
xbmc-bin depends on libbluetooth3 (>= 4.91); however:
Package libbluetooth3 is not installed.
xbmc-bin depends on libmicrohttpd5; however:
Package libmicrohttpd5 is not installed.
xbmc-bin depends on libpostproc52 (>= 5:0.10.2); however:
Version of libpostproc52 on system is 4:0.8-2.
xbmc-bin depends on libsdl-mixer1.2; however:
Package libsdl-mixer1.2 is not installed.
xbmc-bin depends on libshairport1; however:
Package libshairport1 is not installed.
xbmc-bin depends on libssh-4 (>= 0.3.91); however:
Package libssh-4 is not installed.
xbmc-bin depends on libswscale2 (>= 5:0.10.2); however:
Version of libswscale2 on system is 4:0.8-2.
xbmc-bin depends on libva-glx1; however:
Package libva-glx1 is not installed.
xbmc-bin depends on libva1 (>> 1.0.15~); however:
Version of libva1 on system is 1.0.14-1.
xbmc-bin depends on libyajl2 (>= 2.0.4); however:
Package libyajl2 is not installed.
dpkg: error processing xbmc-bin (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xbmc-bin

Fuck it, might be time to install Ubuntu on the server.

Thomas Hunter II

Thomas is a published author and a prolific public speaker with a passion for reducing complex problems into simple language and diagrams. His career includes working at Fortune 50's in the Midwest, co-founding a successful startup, and everything in between.

Latest posts by Thomas Hunter II (see all)

Tags:

  • Mark

    xbmc is now part of debian wheezy (testing)… So ‘aptitude install xbmc’ is all you need on that version.

    I note in your commands you’ve pulled the xbmc package from debian-multimedia. As the errors indicate it relies on some video processing packages – these are in debian-multimedia. You can follow the instructions at the debian-multimedia website to set it up as a package source, then you can do the ‘aptitude install xbmc’ on squeeze too. Pulling a single package from a repository is a recipe for failure – it’s called a repository because it contains the whole software stack from low level libraries up to end user applications. If you use the repository by adding it to your software sources it will take care of all the details for you.