[PATCH] akonadi can't be built in kdesupport

Christophe Giboudeaux cgiboudeaux at gmail.com
Sat Jun 13 03:41:29 CEST 2009


On Saturday 13 June 2009 01:44:08 Matthew Woehlke wrote:
> Christophe Giboudeaux wrote:
> > On Saturday 13 June 2009 00:49:57 Matthew Woehlke wrote:
>
> But I can tell you what happens. FindSoprano tries to read
> ${SOPRANO_INCLUDE}/soprano/version.h, which doesn't exist. It then has
> *a cmake error* in the next (REGEX MATCH) line. This isn't a "couldn't
> find package", this is a "your buildsystem has a syntax error".
>

${SOPRANO_INCLUDE}/soprano/version.h will be read *only* if Soprano_FOUND is 
true (ie: if SOPRANO_INCLUDE_DIR and SOPRANO_LIBRARIES both exist).

If this file doesn't exist, it's a soprano issue.

Note that the FindSoprano.cmake in kdesupport/akonadi is almost the same as 
the one in kdelibs (we just replaced ${KDE4_LIB_DIR} which doesn't make sense 
in kdesupport).

Finally, your patch is wrong: there's no version.h in 
${KDESupport_SOURCE_DIR}/soprano/soprano. This file is generated and is in 
${KDESupport_BINARY_DIR}/soprano/soprano.


Christophe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20090613/fe9f02aa/attachment-0001.sig 


More information about the Kde-buildsystem mailing list