twinkle icon indicating copy to clipboard operation
twinkle copied to clipboard

Building on Ubuntu Jammy with Akonadi support fails

Open c-holtermann opened this issue 1 year ago • 0 comments

I tried to build twinkle as described in https://github.com/LubosD/twinkle/issues/90#issuecomment-449594807 on ubuntu jammy (actually Tuxedo os derived from Ubuntu Jammy) but did not succeed.

Building without Akonadi support works.

>>> cmake .. -Dexample_option=On -DWITH_AKONADI=On
-- C++11 regular expressions OK
-- libatomic: /usr/lib/x86_64-linux-gnu/libatomic.so.1
-- libresolv: /usr/lib/x86_64-linux-gnu/libresolv.so
-- libmagic version: 5.41
-- Found LibSndfile: /usr/lib/x86_64-linux-gnu/libsndfile.so
-- Found ucommon includes:      /usr/include/ucommon/ucommon.h
-- Found ucommon library:       /usr/lib/x86_64-linux-gnu/libucommon.so;/usr/lib/x86_64-linux-gnu/libusecure.so
-- Found commoncpp includes:    /usr/include/commoncpp/config.h
-- Found commoncpp library:     /usr/lib/x86_64-linux-gnu/libcommoncpp.so
-- Found ccrtp includes:        /usr/include/ccrtp/rtp.h
-- Found ccrtp library: /usr/lib/x86_64-linux-gnu/libccrtp.so
CMake Error at CMakeLists.txt:95 (find_package):
  By not providing "FindKF5Akonadi.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5Akonadi", but CMake did not find one.

  Could not find a package configuration file provided by "KF5Akonadi" with
  any of the following names:

    KF5AkonadiConfig.cmake
    kf5akonadi-config.cmake

  Add the installation prefix of "KF5Akonadi" to CMAKE_PREFIX_PATH or set
  "KF5Akonadi_DIR" to a directory containing one of the above files.  If
  "KF5Akonadi" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!

Looking for the missing file I found this:

>>> sudo dpkg -L libkf5akonadi-dev
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libkf5akonadi-dev
/usr/share/doc/libkf5akonadi-dev/changelog.Debian.gz
/usr/share/doc/libkf5akonadi-dev/copyright

and further

>>> sudo dpkg -s libkf5akonadi-dev
Package: libkf5akonadi-dev
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 38
Maintainer: Neon CI <[email protected]>
Architecture: all
Source: akonadi
Version: 4:24.05.2-0xneon+22.04+jammy+release+build70
Depends: kpim6-akonadi-dev
Description: Dummy transitional
 Transitional dummy package.
Homepage: http://pim.kde.org/akonadi

So this is actually kpim6-akonadi-dev. This does not compile as KF5AkonadiConfig.cmake is missing.

I hesitated to file this as an issue as it in itself does not relate to twinkle but to the distribution.

c-holtermann avatar Nov 19 '24 17:11 c-holtermann