https://bugs.kde.org/show_bug.cgi?id=428779

            Bug ID: 428779
           Summary: Could not find a package configuration file provided
                    by "ECM" / Could NOT find KF5Auth (missing:
                    KF5Auth_DIR)
           Product: systemdgenie
           Version: unspecified
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: rthoms...@gmail.com
          Reporter: myndstr...@protonmail.ch
  Target Milestone: ---

SUMMARY
I was trying to install the latest version on latest Debian stable but when
running `cmake -DCMAKE_INSTALL_PREFIX=\`kf5-config --prefix\` ..` in the build
directory I get:

> CMake Error at CMakeLists.txt:11 (find_package):
> Could not find a package configuration file provided by "ECM" (requested
> version 5.15.0) with any of the following names:
>
>   ECMConfig.cmake
>   ecm-config.cmake
>
> Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
> to a directory containing one of the above files.  If "ECM" provides a
> separate development package or SDK, be sure it has been installed.
>
>
>-- Configuring incomplete, errors occurred!

After installing `extra-cmake-modules` of the version that's in Debian's repos
I get:

> -- Could NOT find KF5Auth (missing: KF5Auth_DIR)
> -- Could NOT find KF5Auth: found neither KF5AuthConfig.cmake nor 
> kf5auth-config.cmake 
> -- Could NOT find KF5CoreAddons (missing: KF5CoreAddons_DIR)
> -- Could NOT find KF5CoreAddons: found neither KF5CoreAddonsConfig.cmake nor 
> kf5coreaddons-config.cmake 
> -- Could NOT find KF5Crash (missing: KF5Crash_DIR)
> -- Could NOT find KF5Crash: found neither KF5CrashConfig.cmake nor 
> kf5crash-config.cmake 
> -- Could NOT find KF5I18n (missing: KF5I18n_DIR)
> -- Could NOT find KF5I18n: found neither KF5I18nConfig.cmake nor 
> kf5i18n-config.cmake 
> -- Could NOT find KF5XmlGui (missing: KF5XmlGui_DIR)
> -- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor 
> kf5xmlgui-config.cmake 
> CMake Error at 
> /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 
> (message):
>  Could NOT find KF5 (missing: Auth CoreAddons Crash I18n XmlGui) (Required
>  is at least version "5.15.0")
> Call Stack (most recent call first):
>  /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 
> (_FPHSA_FAILURE_MESSAGE)
>  /usr/share/ECM/find-modules/FindKF5.cmake:110 
> (find_package_handle_standard_args)
>  CMakeLists.txt:21 (find_package)
>
>
>-- Configuring incomplete, errors occurred!



STEPS TO REPRODUCE
1. Install/use Debian 10 stable with KDE
2. Try to install SystemdGenie 

OBSERVED RESULT
Installation does not work as described, nor with the described fix.


EXPECTED RESULT
- The instructions for installation should include `sudo apt-get install
extra-cmake-modules`
- The installation should work

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.5
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to