You are not logged in.

#1 2009-07-31 19:03:48

ugkbunb
Member
Registered: 2009-02-26
Posts: 227

Amarok1 can only be built as root

I noticed the amarok1 package had an update in the AUR so I attempted to build and install it... however when attempting to build with yaourt as a non-root user I get the following error:

checking for kde-config... /opt/kde/bin/kde-config
configure: error: /opt/kde/bin/kde-config --prefix outputed the non existant prefix '' for kdelibs.
                    This means it has been moved since you installed it.
                    This won't work. Please recompile kdelibs for the new prefix.

I know this exact PKGBUILD worked for me just a few weeks earlier. The package proceeds to build fine if I build it as a root.

$ pacman -Qo /opt/kde/bin/kde-config
/opt/kde/bin/kde-config is owned by kdelibs3 3.5.10-5

$ /opt/kde/bin/kde-config --prefix
/opt/kde

Any ideas or suggestions on how I could go about fixing this problem would be appreciated.

Offline

#2 2009-07-31 19:26:46

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Amarok1 can only be built as root

Try to build it locally instead and see what happens.

Offline

#3 2009-07-31 20:32:44

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Amarok1 can only be built as root

Hello ugkbunb!

The problem exists here too, but i don't bother it.

I don't use yaourt, just makepkg, or aurbuild -s, and it's not problem for me to build as root this kde related packages. But you can see such a packages in extra/core like an example how to do it in fact.

Offline

#4 2009-08-01 14:38:54

ugkbunb
Member
Registered: 2009-02-26
Posts: 227

Re: Amarok1 can only be built as root

Building locally only works as root as well... and for some reason although the package builds after installing it amarokapp/amarok is not installed correctly and I can not run it... luckily I found the old package I had built of this a couple of weeks back and it seems to install/work just fine. Guess I will forgoe this update for now.

Offline

#5 2009-08-01 14:56:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,608
Website

Re: Amarok1 can only be built as root

This is a fakeroot bug.   With pacman-3.3 you will be able to do the building of the package without fakeroot and the use fakeroot for the packaging steps.  Until then you need to build as root.

Offline

Board footer

Powered by FluxBB