Wednesday, November 26, 2008

Installing Amarok 2 Beta/RC on Fedora 9

Installing Amarok 2 Beta/RC is pretty straight forward except that the steps on the Amarok wiki are incomplete.

First you need to install cmake

# yum install cmake

After that, try compiling with

# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=debugfull

On a typical Fedora 9 setup, you'd instantly hit errors. Thats because multiple devel packages are missing.

# yum install -y kdelibs phonon* libgpod-devel prce

Another package that needs to be installed is libtags. Installing it via yum didnot solve the problem for me. So I had to download the code and install it from here
You will need libmtp. But the ones available in Fedora 9 won't help. Take ones from Fedora 10 repo from here and here

During make i hit a problem, amarok couldn't file libprce and libprceposix, even though they were installed.

# ln -s /usr/lib/ /usr/lib/libpcreposix
# ln -s /lib/ /usr/lib/

After all of this, trying compiling amarok again.This time everything should go smooth.
Then do a make and make install.
The make step takes a lot of time.
You should be all set to use the latest and greatest Music Player i.e Amarok 2 RC1 (pun intended!)

The easy way to do this just install the rpm. Grab the beta rpm from here

# yum localinstall amarok-1.90-1.fc9.i386.rpm

The above will resolve all the necessary dependencies and install amarok 2 beta 1

Powered by ScribeFire.


anilk said...

Why don't you submit the rpm package to fedora and become a contributor?

anilk said...

Also, thanks for instructions. I think it will help me while compiling rc1 version.

varun said...

of course we can, but time may not permit. We will do the best we can