[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: compile error with kde-runtime
From: Vishesh Handa <me () vhanda ! in>
Date: 2012-03-07 10:26:00
Message-ID: CAOPTMKCZUGXiRqtidOnWxnHXUCFUKG0KxF-wXB0W6NydayCyhQ () mail ! gmail ! com
[Download RAW message or body]
On Wed, Mar 7, 2012 at 3:35 PM, Anne-Marie Mahfouf <
annemarie.mahfouf@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 stil=
l
> 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/resourcest=
at.o
>
> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepag=
egenerator.cpp:
> In member function =91QByteArray
> Nepomuk::ResourcePageGenerator::generatePage() const=92:
> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepag=
egenerator.cpp:204:36:
> error: =91depiction=92 is not a member of =91Nepomuk::Vocabulary::NFO=92
> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepag=
egenerator.cpp:205:52:
> error: =91depiction=92 is not a member of =91Nepomuk::Vocabulary::NFO=92
> make[2]: ***
> [nepomuk/kioslaves/nepomuk/CMakeFiles/kio_nepomuk.dir/resourcepagegenerat=
or.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@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@gmail.co=
m
>> > wrote:
>>
>>> Thank you for the reply. By SDO I assume it is
>>> shared-desktop-ontologies. I very rarely build this, but from your ema=
il 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-runt=
ime
>>>
>>
>> Are you sure you have the correct git repo of SDO?
>>
>> Please check -
>> http://techbase.kde.org/Getting_Started/Build/Requirements#Shared-Deskto=
p-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@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@gmail.com> wrote:
>>>>
>>>>> Sorry if this is the wrong group to ask this question, please refer m=
e
>>>>> to the right group if you know.
>>>>>
>>>>> The issue is kde-runtime from master. I've been getting the followin=
g
>>>>> compile error for about a week now.
>>>>>
>>>>>
>>>>> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourc=
epagegenerator.cpp:
>>>>> In member function =91QByteArray
>>>>> Nepomuk::ResourcePageGenerator::generatePage()
>>>>> const=92:
>>>>> /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourc=
epagegenerator.cpp:204:36:
>>>>> error: =91depiction=92 is not a member of
>>>>> =91Nepomuk::Vocabulary::NFO=92
>>>>>
>>>>>
>>>>> David
>>>>>
>>>>>
>>>>> On Fri, Mar 2, 2012 at 9:58 AM, Lamarque Vieira Souza <
>>>>> lamarque@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 KDeclarativeConf=
ig.cmake and KDeclarativeConfigVersion.cmake to ${LIB_INSTALL_DIR}/cmake/KD=
eclarative. In the current situation any KDE program that want to use it se=
t 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/>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>
>
>
[Attachment #3 (text/html)]
<br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 3:35 PM, Anne-Marie Mahfouf \
<span dir="ltr"><<a \
href="mailto:annemarie.mahfouf@free.fr">annemarie.mahfouf@free.fr</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <u></u>
<div text="#000000" bgcolor="#ffffff"><div class="im">
On 03/07/2012 09:54 AM, Hugo Pereira Da Costa wrote:
<blockquote type="cite">
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.<br></blockquote></div></div></blockquote><div>Yup! \
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div text="#000000" \
bgcolor="#ffffff"> <div class="im"><blockquote type="cite">
<br>
(to experts, correct me if I'm wrong)<br>
<br>
Hugo<br>
</blockquote></div>
I updated SDO from git master, I rebuilt and installed kdelibs and I
still get the error.<br>
There is something else probably to build: I can't see where this
Nepomuk::Vocabulary::NFO comes from.<br>
<br>
In any case, cmake should fail somehow if I miss \
something.<br></div></blockquote><div><br>NFO is generated by cmake scripts in \
kdelibs/nepomuk. If you look in the build directory you'll find the file \
nfo.h<br><br> Eg - <br>vlap:~/kde/build/kdelibs/nepomuk $ ack -a \
depiction<br>nfo.h<br>643: * <a \
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction</a> \
<br>
648: NEPOMUK_EXPORT QUrl depiction();<br><br>Binary file \
CMakeFiles/nepomuk.dir/nfo.o matches<br><br>nfo.cpp<br>103: nfo_depiction( \
QUrl::fromEncoded( "<a \
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction</a>", \
QUrl::StrictMode ) ),<br>
234: QUrl nfo_depiction;<br>671:QUrl Nepomuk::Vocabulary::NFO::depiction()<br>673: \
return s_nfo()->nfo_depiction;<br><br><br>Could you check if it has this \
'depiction' function? If it doesn't could you check if your SDO has \
it?<br> <br>vlap:~/kde/src/shared-desktop-ontologies/nfo $ ack -a depiction<br><a \
href="http://nfo.trig.in">nfo.trig.in</a><br>944: nfo:depiction<br>948: \
rdfs:label "depiction" ;<br>958: nrl:inverseProperty nfo:depiction \
.<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div text="#000000" \
bgcolor="#ffffff"><font color="#888888"> <br>
Anne-Marie</font><div><div></div><div class="h5"><br>
<br>
<blockquote type="cite">
<br>
<blockquote type="cite">Still waiting to hear how to fix the error in
compiling kde-runtime. Git updates have not helped.<br>
<br>
[ 33%] Building CXX object
nepomuk/kioslaves/nepomuk/CMakeFiles/kio_nepomuk.dir/__/common/resourcestat.o \
<br>
/home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:
In member function ‘QByteArray
Nepomuk::ResourcePageGenerator::generatePage() const’:<br>
/home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:204:36:
error: ‘depiction’ is not a member of ‘Nepomuk::Vocabulary::NFO’<br>
/home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:205:52:
error: ‘depiction’ is not a member of ‘Nepomuk::Vocabulary::NFO’<br>
make[2]: ***
[nepomuk/kioslaves/nepomuk/CMakeFiles/kio_nepomuk.dir/resourcepagegenerator.o]
Error 1<br>
make[2]: *** Waiting for unfinished jobs....<br>
<br>
<br>
Please advise.<br>
Thanks<br>
David<br>
<br>
<div class="gmail_quote">On Sun, Mar 4, 2012 at 9:54 AM,
Anne-Marie Mahfouf <span dir="ltr"><<a \
href="mailto:annemarie.mahfouf@free.fr" \
target="_blank">annemarie.mahfouf@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div text="#000000" \
bgcolor="#ffffff"> <div> On 03/04/2012 09:41 AM, Vishesh Handa
wrote:
<blockquote type="cite"><br>
<div class="gmail_quote">On Sat, Mar 3, 2012 at 10:23
PM, David Boosalis <span dir="ltr"><<a \
href="mailto:david.boosalis@gmail.com" \
target="_blank">david.boosalis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> 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<br>
</blockquote>
<div><br>
Are you sure you have the correct git repo of SDO?<br>
<br>
Please check - <a \
href="http://techbase.kde.org/Getting_Started/Build/Requirements#Shared-Desktop-Ontologies" \
target="_blank">http://techbase.kde.org/Getting_Started/Build/Requirements#Shared-Desktop-Ontologies</a><br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font color="#888888"> \
<br> </font></blockquote>
</div>
</blockquote>
</div>
I have the same error with SDO master up-to-date.<span><font \
color="#888888"><br> <br>
Anne-Marie</font></span>
<div><br>
<br>
<blockquote type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font \
color="#888888">-David</font> <div>
<div><br>
<br>
<br>
<br>
<div class="gmail_quote">On Fri, Mar 2, 2012
at 11:42 PM, Vishesh Handa <span dir="ltr"><<a \
href="mailto:me@vhanda.in" target="_blank">me@vhanda.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> You need to update \
SDO, and then update kdelibs. <div>
<div><br>
<br>
<div class="gmail_quote">On Sat, Mar
3, 2012 at 6:20 AM, David Boosalis <span \
dir="ltr"><<a href="mailto:david.boosalis@gmail.com" \
target="_blank">david.boosalis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt \
0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sorry
if this is the wrong group to ask
this question, please refer me to
the right group if you know.<br>
<br>
The issue is kde-runtime from
master. I've been getting the
following compile error for about
a week now.<br>
<br>
<br>
\
/home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:
In member function ‘QByteArray
Nepomuk::ResourcePageGenerator::generatePage()
const’: \
<br>
\
/home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:204:36:
error: ‘depiction’ is not a member
of
‘Nepomuk::Vocabulary::NFO’ \
<br>
<br>
David<br>
<br>
<br>
<div class="gmail_quote">On Fri,
Mar 2, 2012 at 9:58 AM, Lamarque
Vieira Souza <span dir="ltr"><<a \
href="mailto:lamarque@kde.org" target="_blank">lamarque@kde.org</a>></span> \
wrote:<br>
<blockquote class="gmail_quote" \
style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <div>
<div \
style="font-family:Verdana,Arial,Helvetica,Sans-Serif">
<table style="border:1px solid \
rgb(201,195,153)" bgcolor="#f9f3c9" cellpadding="8" width="100%"> <tbody>
<tr>
<td> This is an
automatically
generated e-mail.
To reply, visit: <a \
href="http://git.reviewboard.kde.org/r/104140/" \
target="_blank">http://git.reviewboard.kde.org/r/104140/</a> </td>
</tr>
</tbody>
</table>
<br>
<table \
style="background-image:url("");background-repeat:repeat-x;border:1px solid \
black" bgcolor="#fefadf" cellpadding="8" cellspacing="0" width="100%"> <tbody>
<tr>
<td>
<div>Review
request for
kdelibs.</div>
<div>By Lamarque
Vieira Souza.</div>
<h1 \
style="color:rgb(87,80,18);font-size:10pt;margin-top:1.5em">Description
</h1>
<table style="border:1px solid \
rgb(184,181,160)" bgcolor="#ffffff" cellpadding="10" cellspacing="0" width="100%"> \
<tbody> <tr>
<td>
<pre \
style="margin:0pt;padding:0pt;white-space:pre-wrap;word-wrap:break-word">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.</pre>
</td>
</tr>
</tbody>
</table>
<h1 \
style="color:rgb(87,80,18);font-size:10pt;margin-top:1.5em">Diffs \
</h1>
<ul \
style="margin-left:3em;padding-left:0pt">
\
<li>experimental/libkdeclarative/CMakeLists.txt
<span \
style="color:grey">(0db647c)</span></li> <li>experimental/libkdeclarative/<a \
href="http://KDeclarativeConfig.cmake.in" \
target="_blank">KDeclarativeConfig.cmake.in</a>
<span \
style="color:grey">(PRE-CREATION)</span></li> <li>experimental/libkdeclarative/<a \
href="http://KDeclarativeConfigVersion.cmake.in" \
target="_blank">KDeclarativeConfigVersion.cmake.in</a> <span \
style="color:grey">(PRE-CREATION)</span></li>
</ul>
<p><a \
href="http://git.reviewboard.kde.org/r/104140/diff/" style="margin-left:3em" \
target="_blank">View
Diff</a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic