compile error with kde-runtime
Vishesh Handa
me at vhanda.in
Wed Mar 7 10:14:00 GMT 2012
On Wed, Mar 7, 2012 at 3:35 PM, Anne-Marie Mahfouf <
annemarie.mahfouf at free.fr> wrote:
> **
> On 03/07/2012 09:54 AM, Hugo Pereira Da Costa wrote:
>
> My experience: you need to rebuild kdelibs first (with latest sdo
> installed) to re-generate source code from the ontologies, that is then
> used in kde-runtime.
>
> Yup!
>
> (to experts, correct me if I'm wrong)
>
> Hugo
>
> I updated SDO from git master, I rebuilt and installed kdelibs and I still
> get the error.
> There is something else probably to build: I can't see where this
> Nepomuk::Vocabulary::NFO comes from.
>
> In any case, cmake should fail somehow if I miss something.
>
NFO is generated by cmake scripts in kdelibs/nepomuk. If you look in the
build directory you'll find the file nfo.h
Eg -
vlap:~/kde/build/kdelibs/nepomuk $ ack -a depiction
nfo.h
643: *
http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction
648: NEPOMUK_EXPORT QUrl depiction();
Binary file CMakeFiles/nepomuk.dir/nfo.o matches
nfo.cpp
103: nfo_depiction( QUrl::fromEncoded( "
http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction",
QUrl::StrictMode ) ),
234: QUrl nfo_depiction;
671:QUrl Nepomuk::Vocabulary::NFO::depiction()
673: return s_nfo()->nfo_depiction;
Could you check if it has this 'depiction' function? If it doesn't could
you check if your SDO has it?
vlap:~/kde/src/shared-desktop-ontologies/nfo $ ack -a depiction
nfo.trig.in
944: nfo:depiction
948: rdfs:label "depiction" ;
958: nrl:inverseProperty nfo:depiction .
> Anne-Marie
>
>
>
> Still waiting to hear how to fix the error in compiling kde-runtime. Git
> updates have not helped.
>
> [ 33%] Building CXX object
> nepomuk/kioslaves/nepomuk/CMakeFiles/kio_nepomuk.dir/__/common/resourcestat.o
>
> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:
> In member function ‘QByteArray
> Nepomuk::ResourcePageGenerator::generatePage() const’:
> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:204:36:
> error: ‘depiction’ is not a member of ‘Nepomuk::Vocabulary::NFO’
> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:205:52:
> error: ‘depiction’ is not a member of ‘Nepomuk::Vocabulary::NFO’
> make[2]: ***
> [nepomuk/kioslaves/nepomuk/CMakeFiles/kio_nepomuk.dir/resourcepagegenerator.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
>
>
> Please advise.
> Thanks
> David
>
> On Sun, Mar 4, 2012 at 9:54 AM, Anne-Marie Mahfouf <
> annemarie.mahfouf at free.fr> wrote:
>
>> On 03/04/2012 09:41 AM, Vishesh Handa wrote:
>>
>>
>> On Sat, Mar 3, 2012 at 10:23 PM, David Boosalis <david.boosalis at gmail.com
>> > wrote:
>>
>>> Thank you for the reply. By SDO I assume it is
>>> shared-desktop-ontologies. I very rarely build this, but from your email I
>>> did a git update on this and there was only one file updated. Perhaps I
>>> need to be on a different branch then master. I also updated and built
>>> kdelibs from master. I still get the same compile errors with kde-runtime
>>>
>>
>> Are you sure you have the correct git repo of SDO?
>>
>> Please check -
>> http://techbase.kde.org/Getting_Started/Build/Requirements#Shared-Desktop-Ontologies
>>
>>
>>>
>>> I have the same error with SDO master up-to-date.
>>
>> Anne-Marie
>>
>>
>> -David
>>>
>>>
>>>
>>>
>>> On Fri, Mar 2, 2012 at 11:42 PM, Vishesh Handa <me at vhanda.in> wrote:
>>>
>>>> You need to update SDO, and then update kdelibs.
>>>>
>>>>
>>>> On Sat, Mar 3, 2012 at 6:20 AM, David Boosalis <
>>>> david.boosalis at gmail.com> wrote:
>>>>
>>>>> Sorry if this is the wrong group to ask this question, please refer me
>>>>> to the right group if you know.
>>>>>
>>>>> The issue is kde-runtime from master. I've been getting the following
>>>>> compile error for about a week now.
>>>>>
>>>>>
>>>>> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:
>>>>> In member function ‘QByteArray
>>>>> Nepomuk::ResourcePageGenerator::generatePage()
>>>>> const’:
>>>>> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:204:36:
>>>>> error: ‘depiction’ is not a member of
>>>>> ‘Nepomuk::Vocabulary::NFO’
>>>>>
>>>>>
>>>>> David
>>>>>
>>>>>
>>>>> On Fri, Mar 2, 2012 at 9:58 AM, Lamarque Vieira Souza <
>>>>> lamarque at kde.org> wrote:
>>>>>
>>>>>> This is an automatically generated e-mail. To reply, visit:
>>>>>> http://git.reviewboard.kde.org/r/104140/
>>>>>> Review request for kdelibs.
>>>>>> By Lamarque Vieira Souza.
>>>>>> Description
>>>>>>
>>>>>> Currently kdeclarative library does not install the KDeclarativeConfig.cmake and KDeclarativeConfigVersion.cmake to ${LIB_INSTALL_DIR}/cmake/KDeclarative. In the current situation any KDE program that want to use it set the "kdeclarative" name hardcoded into CMakeLists.txt, which is not ideal. This patch fixes that problem.
>>>>>>
>>>>>> Diffs
>>>>>>
>>>>>> - experimental/libkdeclarative/CMakeLists.txt (0db647c)
>>>>>> - experimental/libkdeclarative/KDeclarativeConfig.cmake.in
>>>>>> (PRE-CREATION)
>>>>>> - experimental/libkdeclarative/KDeclarativeConfigVersion.cmake.in
>>>>>> (PRE-CREATION)
>>>>>>
>>>>>> View Diff <http://git.reviewboard.kde.org/r/104140/diff/>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120307/68199b17/attachment.htm>
More information about the kde-core-devel
mailing list