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

Building polkit-qt

Tags: None
(comma "," separated)
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

Building polkit-qt

Fri Oct 30, 2009 6:53 pm
Hello,
I want to use KAuth and as far as I know I have to build polkit-qt from kdesupport for this (KAuth is built from trunk, too). But CMake doesn't find the dependencies for polkit-qt (polkit etc.). So my question is:
Which packages do I have to install on openSUSE 11.1 and where can I find them in the right version? (it's no problem to build something from source, so that would be possible, too)

Thanks in advance


Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Building polkit-qt

Fri Oct 30, 2009 9:13 pm
Where are you installing polkit-qt?

If you are installing it outside of /usr, then you need to set some environment variables to help.

Code: Select all
    export CMAKE_PREFIX_PATH="${KDEDIR}:${QTDIR}"
    export PKG_CONFIG_PATH="${KDEDIR}/lib/pkgconfig:${KDEDIR}/share/pkgconfig:${QTDIR}/lib/pkgconfig"


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

Re: Building polkit-qt

Fri Oct 30, 2009 9:22 pm
I want to install polkit-qt from kdesupport (source, trunk). But cmakekde says this:
Code: Select all
-- checking for module 'polkit>=0.8'
--   package 'polkit>=0.8' not found
-- checking for module 'polkit-dbus>=0.8'
--   package 'polkit-dbus>=0.8' not found
-- checking for module 'polkit-grant>=0.8'
--   package 'polkit-grant>=0.8' not found
-- Configuring done

I think you got my ugly explanation wrong, sorry or I didn't get your post, sorry for this, too.
BTW: I use a 64bit version of openSUSE. Qt 4.6 is self compiled.
EDIT: I tried the commands you suggested, but they didn't work, even with lib64 instead of lib. Thanks although.


Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Building polkit-qt

Fri Oct 30, 2009 9:45 pm
At some point when configuring cmakekde you would have needed to specify a prefix to install everything to. What is that?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

Re: Building polkit-qt

Fri Oct 30, 2009 9:47 pm
Sorry for not saying this before :(, I was a bit too quick.
It's ~/kde
KDEDIR=~/kde


Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Building polkit-qt  Topic is solved

Sat Oct 31, 2009 6:01 am
Have you installed the "PolicyKit-devel" package?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS

Re: Building polkit-qt

Sat Oct 31, 2009 10:18 am
I have, but it was the wrong architecture (i586 instead of a 64bit). Thanks a lot for your help, because as I wanted to give you more information regarding to your last post, I saw the wrong architecture. :)

Jan


Image


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]