[KPhotoAlbum] Building KPA 4.7.2 on OpenSuse 42.1 failing because of libkface

Martin Jost lists at majo.name
Mon Oct 3 18:04:17 BST 2016


Hello,

I'm trying to build KPA 4.7.2 on OpenSuse 42.1 - but it fails.

cmake claims it found the libkface: (my emphasis)
    pd at gollum:/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/b> cmake ..
[....]
    -- Found JPEG: /usr/lib64/libjpeg.so
    -- No Kipi library version required. Check default version : 1.2.0
    -- Check Kipi library in local sub-folder...
    -- Check Kipi library using pkg-config...
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- checking for module 'libkipi>=1.2.0'
    --   package 'libkipi>=1.2.0' not found
    -- Could NOT find KIPI (missing:  KIPI_INCLUDE_DIR)
    -- Check for Kdcraw library in local sub-folder...
    -- Check Kdcraw library using pkg-config...
    -- checking for module 'libkdcraw'
    --   package 'libkdcraw' not found
    -- Found Exiv2: /usr/lib64/libexiv2.so (found suitable version
"0.25.0", minimum required is "0.12")
    -- Could NOT find marble (missing:  MARBLE_LIBRARIES)
**************
    -- Found KFace version 3.5.0 (optional)
    --   Face detection and recognition features will be built.
**************
    -- Did not find KGeoMap (optional)
    --   Geographic map features won't be built.
    CMake Warning (dev) at /usr/lib64/automoc4/Automoc4Config.cmake:179
(get_directory_property):
      Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in
directory
      property.  Run "cmake --help-policy CMP0059" for policy details.
Use the
      cmake_policy command to set the policy and suppress this warning.
    Call Stack (most recent call first):
      /usr/lib64/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
      /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1027
(_automoc4_kde4_pre_target_handling)
      CMakeLists.txt:451 (kde4_add_executable)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at /usr/lib64/automoc4/Automoc4Config.cmake:179
(get_directory_property):
      Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in
directory
      property.  Run "cmake --help-policy CMP0059" for policy details.
Use the
      cmake_policy command to set the policy and suppress this warning.
    Call Stack (most recent call first):
      /usr/lib64/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
      /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1079
(_automoc4_kde4_pre_target_handling)
      CMakeLists.txt:453 (kde4_add_library)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Looking for dgettext
    -- Looking for dgettext - found
    -- Found Gettext: built in libc
    -- Configuring done
    -- Generating done
    -- Build files have been written to:
/home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/b


But then it fails, seemingly because of libkface:

    [  4%] Building CXX object
CMakeFiles/kphotoalbum.dir/kphotoalbum_automoc.cpp.o
    In file included from
/home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/b/../AnnotationDialog/ListSelect.h:28:0,
                     from
/home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/b/../AnnotationDialog/Dialog.h:23,
                     from
/home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/b/../AnnotationDialog/ResizableFrame.h:32,
                     from
/home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/b/moc_ResizableFrame.cpp:9,
                     from
/home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/b/kphotoalbum_automoc.cpp:4:

/home/pd/pd-sw/foto/kphotoalbum/kphotoalbum-4.7.2/FaceManagement/Recognizer.h:30:42:
fatal error: libkface/recognitiondatabase.h: Datei oder Verzeichnis
nicht gefunden
     #include <libkface/recognitiondatabase.h>
                                              ^
    compilation terminated.
    CMakeFiles/kphotoalbum.dir/build.make:66: recipe for target
'CMakeFiles/kphotoalbum.dir/kphotoalbum_automoc.cpp.o' failed
    gmake[2]: *** [CMakeFiles/kphotoalbum.dir/kphotoalbum_automoc.cpp.o]
Error 1
    CMakeFiles/Makefile2:174: recipe for target
'CMakeFiles/kphotoalbum.dir/all' failed
    gmake[1]: *** [CMakeFiles/kphotoalbum.dir/all] Error 2
    Makefile:138: recipe for target 'all' failed
    gmake: *** [all] Error 2


I understood that Opensuse 42.1 comes with a newer libkface version,
than KPA currently supports.
So I tried to remove all '*face*'  packages I could find. Still it
behaves like described above. (Note: I had removed the build directory
completely and recreated, before starting to do cmake/build - so no left
over older stuff)

For the moment I would be happy to be able to compile without libkface.
How do I achieve that ?

TIA

Martin



More information about the Kphotoalbum mailing list