[CMake] Issues with finding raptor in the soprano build

Laszlo Papp lpapp at kde.org
Tue Nov 15 14:23:17 EST 2011


Hi,

I am now having issues with finding the raptor software for the build
of the soprano project on Harmattan (N9 OS and distribution). It works
on desktop and in scratchbox. It does not work in qemu though.

It looks weird because redland was found properly, and the those
find_package lines are residing after each other:
http://quickgit.kde.org/?p=soprano.git&a=blob&h=61aa37db11b2091f4d9dbb822bbe8eecf56e543e&hb=1f6789719c53d964e2c8e705330e043dc04f2806&f=CMakeLists.txt#143

You can find the FindRaptor.cmake module here:
http://quickgit.kde.org/?p=soprano.git&a=blob&h=c5043c8bef5306d847dae3bc511d18b2230ee453&hb=1f6789719c53d964e2c8e705330e043dc04f2806&f=cmake/modules/FindRaptor.cmake

I think this is a bit closer to the issue:
-- [TEST-BEGIN] - FIND_PACKAGE RAPTOR2.0.4
-- VERSION_VAR  (missing:  REQUIRED_VARS)
-- [TEST-END] - FIND_PACKAGE RAPTOR2.0.4

for this debugging lines in the CMakeLists.txt file:
 message(STATUS "[TEST-BEGIN] - FIND_PACKAGE RAPTOR2.0.4")
 find_package(Raptor 2.0.4)
 message(STATUS "[TEST-END] - FIND_PACKAGE RAPTOR2.0.4")

Also:
I debugged it further on, and it enters this if condition, too:
http://quickgit.kde.org/?p=soprano.git&a=blob&h=c5043c8bef5306d847dae3bc511d18b2230ee453&hb=1f6789719c53d964e2c8e705330e043dc04f2806&f=cmake/modules/FindRaptor.cmake#154

Also:
I have this file on my system: /usr/include/raptor2/raptor.h (That is
the one the FindRaptor.cmake module is looking for iirc).

Thank you in advance! I am now really stuck here.

Best Regards,
Laszlo Papp


More information about the CMake mailing list