Wednesday 24 June 2009

How-To: Compile and Install Kaffeine 0.8.8 in Debian Lenny

Kaffeine is a powerful video player for KDE, using the Xine engine. The latest KDE3 release is 0.8.8, which fixes some bugs and introduces S2 support.

These are a few steps to follow in order to compile Kaffeine on Debian Lenny (which ships by default with 0.8.7):

1. Make sure the sources repositories are enabled
Edit your /etc/apt/sources.list file as root (e.g. su; nano /etc/apt/sources.list) and make sure a line which starts with deb-src and looks like the one below is available:

deb-src ftp://ftp.ro.debian.org/debian/ lenny main contrib non-free

Next, update the sources lists:

su
apt-get update

2. Download the source code
Get the source from the official homepage, here, then uncompress it:

tar -xjf kaffeine-0.8.8.tar.bz2

3. Install the needed dependencies
As root, type:

apt-get build-dep kaffeine
apt-get install libcdio-paranoia-dev

The library libcdio-paranoia-dev is needed in order to get rid of the error ERROR: Could not find cdparanoia headers.

This will install build-essential and the development libraries needed to compile Kaffeine.

4. Compile and install Kaffeine
Just follow the usual steps:

./configure
make
make install

The last one as root. If you want to install Kaffeine as local user, use:

./configure --prefix=/home/USER/usr
make
make install

No root required for the last command. This should do it.

1 comment:

Anonymous said...

actually never mind the last comment, kdelibs4-dev was just missing.