Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 15:47:00 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Olivier Smedts <olivier@gid0.org>
Cc:        kde-freebsd@kde.org, freebsd-ports@freebsd.org
Subject:   Re: latest kdelibs update fails
Message-ID:  <4FE074C4.1070502@gmail.com>
In-Reply-To: <CABzXLYNe1hQ4AZwGRs2jWv4a8NTnGc6AUEht1Wga=TtqABLPJQ@mail.gmail.com>
References:  <4FE02BE4.20208@gmail.com> <CABzXLYNe1hQ4AZwGRs2jWv4a8NTnGc6AUEht1Wga=TtqABLPJQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Olivier Smedts wrote:
> 2012/6/19 Volodymyr Kostyrko<c.kworr@gmail.com>:
>> Hi all.
>>
>> Trying to update kdelibs I stumbled upon this one:
>>
>> -- No backend for KAuth was explicitly specified: probing system to find the
>> best one available
>> -- Found PolkitQt-1: /usr/local/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake
>> 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_servi
>> ce to the  prefix
>> -- Building PolkitQt-1 KAuth backend
>> CMake Error at kdecore/CMakeLists.txt:387 (set_source_files_properties):
>>   set_source_files_properties called with incorrect number of arguments.
>>
>> It seems that kdelibs fails to detect PolicyKit correctly.
>
> I had the same problem, the following cmake directive is wrong :
>
>      set_source_files_properties(util/kshareddatacache.cpp
>          PROPERTIES COMPILE_FLAGS ${KDE4_ENABLE_EXCEPTIONS})
>
> I think KDE4_ENABLE_EXCEPTIONS is empty, and the
> set_source_files_properties complains that the number of arguments is
> wrong.
>
> I deleted those lines to be able to build kdelibs.

You are right about empty value, doublequoting this variable works for me.

-- 
Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE074C4.1070502>