This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kde build unstable - polkit related error

Tags: None
(comma "," separated)
thuswa
Registered Member
Posts
2
Karma
0
OS
Hi,
I'm trying to build kde unstable from source but I have run in to trouble with n polkit related error. Hoping that someone here can guide me in the right direction.

To back-trace what I have done.

So I basically follow the instructions here: http://blogs.fsfe.org/mario/?p=109
and also here for reference: http://techbase.kde.org/Getting_Started/Build/Unstable_Version

For some reason I do not manage to set up kde-devel with sudo permissions. But this should not matter since I try to build the kde locally in $HOME.

I also had a look here: http://techbase.kde.org/Getting_Started/Buil/KDE4/Troubleshooting#Issues_building_kdebase

No luck.

The error when building kde-runtime and kde-workspace are similar and look like this:
Code: Select all
-- Installing: /usr/share/polkit-1/actions/org.kde.kcontrol.kcmremotewidgets.policy
CMake Error at plasma/remotewidgetshelper/cmake_install.cmake:54 (FILE):
  file INSTALL cannot copy file
  "/home/kde-devel/kde/build/kde-runtime/plasma/remotewidgetshelper/org.kde.kcontrol.kcmremotewidgets.policy"
  to "/usr/share/polkit-1/actions/org.kde.kcontrol.kcmremotewidgets.policy".
Call Stack (most recent call first):
  plasma/cmake_install.cmake:40 (INCLUDE)
  cmake_install.cmake:78 (INCLUDE)


make: *** [install] Error 1
makeobj[0]: Leaving directory `/home/kde-devel/kde/build/kde-runtime'


I would like to not install anything in the root file system, there should be a way to keep the kde development build (local in $HOME) entirely separate from the system.

I have tried to install polkit-qt from source and I guess I would also have to install polkit-kde-??something??, and then somehow tell cmake of where this is installed? Am I on the right track?

TIA

Last edited by thuswa on Tue Feb 15, 2011 11:47 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I assume you passed "-DCMAKE_INSTALL_PREFIX=/some/path" to cmake when configuring it? /some/path will be a location on your system you decided to install it everything to.

If you did that, then try running the following in the top level build directory.
Code: Select all
cmake . -DKDE4_AUTH_POLICY_FILES_INSTALL_DIR=/some/path/share/polkit-1/actions


Note that you need to replace /some/path with the appropriate folder on your system. It should match the CMAKE_INSTALL_PREFIX.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft