[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: compile error with kde-runtime
From:       Anne-Marie Mahfouf <annemarie.mahfouf () free ! fr>
Date:       2012-03-07 10:05:10
Message-ID: 4F5732D6.3070104 () free ! fr
[Download RAW message or body]

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.
> 
> (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.

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@free.fr <mailto: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.com <mailto:david.boosalis@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@vhanda.in
> > > <mailto: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
> > > <mailto:david.boosalis@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@kde.org <mailto: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 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
> > > <http://KDeclarativeConfig.cmake.in>
> > > (PRE-CREATION)
> > > * experimental/libkdeclarative/KDeclarativeConfigVersion.cmake.in
> > > <http://KDeclarativeConfigVersion.cmake.in> (PRE-CREATION)
> > > 
> > > View Diff
> > > <http://git.reviewboard.kde.org/r/104140/diff/>
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 03/07/2012 09:54 AM, Hugo Pereira Da Costa wrote:
    <blockquote cite="mid:4F572230.4050406@oxygen-icons.org" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      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>
      <br>
      (to experts, correct me if I'm wrong)<br>
      <br>
      Hugo<br>
    </blockquote>
    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>
    <br>
    Anne-Marie<br>
    <br>
    <blockquote cite="mid:4F572230.4050406@oxygen-icons.org" type="cite">
      <br>
      <blockquote
cite="mid:CADO_GS4gLi0gwrodHAuqHvhkrRLzLHx2Q9EYqsUTEXrFtJScCg@mail.gmail.com"
        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">&lt;<a
              moz-do-not-send="true"
              href="mailto:annemarie.mahfouf@free.fr">annemarie.mahfouf@free.fr</a>&gt;</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 class="im"> 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">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:david.boosalis@gmail.com"
                        target="_blank">david.boosalis@gmail.com</a>&gt;</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 moz-do-not-send="true"
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
                class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Anne-Marie</font></span>
              <div class="im"><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">&lt;<a
                                moz-do-not-send="true"
                                href="mailto:me@vhanda.in"
                                target="_blank">me@vhanda.in</a>&gt;</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">&lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:david.boosalis@gmail.com"
                                        \
target="_blank">david.boosalis@gmail.com</a>&gt;</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">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:lamarque@kde.org"
                                            \
target="_blank">lamarque@kde.org</a>&gt;</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);" width="100%"
                                                bgcolor="#f9f3c9"
                                                cellpadding="8">
                                                <tbody>
                                                  <tr>
                                                    <td> This is an
                                                      automatically
                                                      generated e-mail.
                                                      To reply, visit: <a
moz-do-not-send="true" 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(&quot;&quot;);
                                                background-repeat:
                                                repeat-x; border: 1px
                                                solid black;"
                                                width="100%"
                                                bgcolor="#fefadf"
                                                cellpadding="8"
                                                cellspacing="0">
                                                <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);"
                                                        width="100%"
                                                        bgcolor="#ffffff"
                                                        cellpadding="10"
                                                        cellspacing="0">
                                                        <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 moz-do-not-send="true" \
                href="http://KDeclarativeConfig.cmake.in"
                                                          \
target="_blank">KDeclarativeConfig.cmake.in</a>  <span
                                                          style="color:
                                                          \
                grey;">(PRE-CREATION)</span></li>
                                                        \
<li>experimental/libkdeclarative/<a moz-do-not-send="true" \
href="http://KDeclarativeConfigVersion.cmake.in" \
target="_blank">KDeclarativeConfigVersion.cmake.in</a> <span  style="color:
                                                          \
grey;">(PRE-CREATION)</span></li>  </ul>
                                                      <p><a
                                                          moz-do-not-send="true"
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>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic