Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on Ubuntu Jammy with Akonadi support fails #327

Open
c-holtermann opened this issue Nov 19, 2024 · 0 comments
Open

Building on Ubuntu Jammy with Akonadi support fails #327

c-holtermann opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@c-holtermann
Copy link

c-holtermann commented Nov 19, 2024

I tried to build twinkle as described in #90 (comment) 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.

@fbriere fbriere self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants