Ragnar Thomsen wrote:
> On Thu, Jun 28, 2012 at 2:54 AM, tony lemaire <[email protected]> wrote:
>> I'm trying to build the KDE desktop in 4.8.4 version, not the 4.8.3 like
>> BLFS.
>> I have all pre-requises install in my distro, but the cmake failed. Here is
>> the log :
>
> I have built KDE 4.8.4 without problems.
>
> .....
>> WARNING: Installation prefix does not match PolicyKit install prefixes. You
>> probably will need to move files installed in POLICY_FILES_INSTALL_DIR and
>> by dbus_add_activation_system_service to the  prefix
>> -- Building PolkitQt-1 KAuth backend
>> CMake Error at kdecore/auth/ConfigureChecks.cmake:138 (string):
>>    string sub-command REPLACE requires at least four arguments.
>> Call Stack (most recent call first):
>>    kdecore/CMakeLists.txt:38 (include)
> ......
>
> There seems to be a problem with your polkit/polkit-qt installation.
> What versions of these do you have?
>
> Did you create the polkit link as mentioned on the page "KDE
> Pre-installation Configuration"?

Ragnar,  I'm having the same problem with 4.8.3.  I do have the links:

$ ls -l /opt/kde4/share/
total 0
lrwxrwxrwx 1 root root 17 Jul  1 13:37 dbus-1 -> /usr/share/dbus-1
lrwxrwxrwx 1 root root 19 Jul  1 13:37 polkit-1 -> /usr/share/polkit-1

I'm using Polkit-0.106 and Polkit-Qt-0.103.0.  The .pc files seem to be 
in the right location and PKG_CONFIG_PATH is right.

Adding -DPOLKITQT-1_INSTALL_DIR=$KDE4_PREFIX fixed it for me, but I 
don't know why cmake is not picking it up automatically.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to