<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://svn.reviewboard.kde.org/r/5360/">http://svn.reviewboard.kde.org/r/5360/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On September 15th, 2010, 1:15 p.m., <b>Sebastian Trueg</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Why does kdelibs need Soprano 2.5.63. It might very well be that I missed something but where is the new functionality needed?</pre>
</blockquote>
<p>On September 15th, 2010, 3:59 p.m., <b>Guy Maurel</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">OK, it is not exact enought!
types/entity.cpp: else if ( property == Soprano::Vocabulary::NAO::userVisible() ) {
entity.cpp needs userVisible from soprano/nao.h</pre>
</blockquote>
<p>On September 15th, 2010, 5:39 p.m., <b>Guy Maurel</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">It seems to be more complicated as I thought.
I have a soprano-version: 2.5.2. Too less!
But the CMake doesn't complain.
If I comment out the lines around
set(SOPRANO_MIN_VERSION "1.99")
in the file cmake/modules/FindSoprano.cmake
I get the wished information about the OPTIONAL package ... Soprano (2.5.60 or higher)</pre>
</blockquote>
<p>On September 16th, 2010, 8:50 a.m., <b>Sebastian Trueg</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Is this a clean build?</pre>
</blockquote>
<p>On September 16th, 2010, 5:16 p.m., <b>Guy Maurel</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">No! It is my error.
BUT.
I made now a clean build. Here some more details to show the problem:
I have a file /usr/local/include/soprano/version.h
with: #define SOPRANO_VERSION_STRING "2.4.61"
The cmake-command gives (only the relevant lines are shown here):
-- Soprano version 2.4.61 is too old. Please install 2.5.60 or newer
-- Found Soprano: /usr/local/include
...
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
...
* Soprano - Semantic Desktop Storing
* Soprano Raptor Parser - RDF parser plugin for Soprano
* Soprano Redland Backend - Redland storage backend for Soprano
With the ccmake-command I can better see:
SOPRANO_CLIENT_LIBRARIES /usr/local/lib/libsopranoclient.so
SOPRANO_INCLUDE_DIR /usr/local/include
SOPRANO_INDEX_LIBRARIES /usr/local/lib/libsopranoindex.so
SOPRANO_LIBRARIES /usr/local/lib/libsoprano.so
SOPRANO_ONTO2VOCABULARYCLASS_E /usr/local/bin/onto2vocabularyclass
SOPRANO_PLUGIN_ROOT_DIR /usr/local/share
SOPRANO_SERVER_LIBRARIES /usr/local/lib/libsopranoserver.so
SOPRANO_SOPRANOCMD_EXECUTABLE /usr/local/bin/sopranocmd
The cmake-command fills the SOPRANO* variables, even the version is not correct.
So the make-command shows the problem:
...
[ 20%] Building CXX object nepomuk/CMakeFiles/nepomuk.dir/types/entity.o
/home/guy-kde/trunk/src/kdelibs/nepomuk/types/entity.cpp: In member function ‘virtual bool Nepomuk::Types::EntityPrivate
::load()’:
/home/guy-kde/trunk/src/kdelibs/nepomuk/types/entity.cpp:102:31: error: ‘userVisible’ is not a member of ‘Soprano::Vocab
ulary::NAO’</pre>
</blockquote>
<p>On September 17th, 2010, 4:53 p.m., <b>Sebastian Trueg</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I still do not get the problem. Your 2.4.63 is older than 2.5.60...</pre>
</blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">right.
But if the cmake-command fills the SOPRANO* variables as shown above, the compiler runs in an error.
As the Soprano package is optional, the SOPRANO* variables **shouldn't** be filled. I do erase those manually,
generate the files and the compiler runs pretty well.</pre>
<br />
<p>- Guy</p>
<br />
<p>On September 15th, 2010, 12:26 p.m., Guy Maurel wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://svn.reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for kdelibs.</div>
<div>By Guy Maurel.</div>
<p style="color: grey;"><i>Updated 2010-09-15 12:26:42</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">the needed depency is 2.5.63, not 2.5.60</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>/trunk/KDE/kdelibs/CMakeLists.txt <span style="color: grey">(1175580)</span></li>
</ul>
<p><a href="http://svn.reviewboard.kde.org/r/5360/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>