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

            Bug ID: 496647
           Summary: cmake during installation from source failed
    Classification: Applications
           Product: kdeconnect
           Version: 24.11.80
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: muh2lint...@gmail.com
                CC: andrew.g.r.hol...@gmail.com
  Target Milestone: ---

Created attachment 176093
  --> https://bugs.kde.org/attachment.cgi?id=176093&action=edit
the entire terminal output

I am running:
System:
  Kernel: 6.8.0-48-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
clocksource: tsc
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm:
LightDM v: 1.30.0
    Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble


I am trying to install KDEConnect from source, since the Debian Package Source
shows an older version 23.08.5-0ubuntu5 that does not support iPhone. I am a
total newbie at compiling/installing from source, however.

SUMMARY
I followed the instructions from this page:
https://community.kde.org/KDEConnect/Build_Linux#Installing_to_~/kde-prefix

But ended up with this error:

CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a configuration file for package "ECM" that is compatible
  with requested version "6.0.0".

  The following configuration files were considered but not accepted:

    /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.115.0



-- Configuring incomplete, errors occurred!

STEPS TO REPRODUCE
These are the commands I entered:

username@T520i:/etc/apt/sources.list.d$ apt update
[sudo] password for username:             
Ign:1 http://packages.linuxmint.com wilma InRelease
Hit:2 http://mirror.ca-tr.kamatera.com/ubuntu noble InRelease                  
Hit:3 http://packages.linuxmint.com wilma Release                              
Hit:4 http://mirror.ca-tr.kamatera.com/ubuntu noble-updates InRelease        
Hit:5 http://mirror.ca-tr.kamatera.com/ubuntu noble-backports InRelease      
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease             
Reading package lists... Done                          
Building dependency tree... Done
Reading state information... Done
42 packages can be upgraded. Run 'apt list --upgradable' to see them.
username@T520i:/etc/apt/sources.list.d$ 

username@T520i:/etc/apt/sources.list.d$ sudo apt-get build-dep kdeconnect

***(The above command produced a very long list, but appeared to complete
without error.)***

$ cd Documents/mydata/333\ apt\ IT\ docs\,\ info\,\ etc/my\
smartphones/kdeconnect/kdeconnect-kde-master/
$ su
$ mkdir build
$ cd build

username@T520i:~/Documents/mydata/333 apt IT docs, info, etc/my
smartphones/kdeconnect/kdeconnect-kde-master/build$ sudo cmake
-DCMAKE_INSTll_PREFIX=/usr ..
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a configuration file for package "ECM" that is compatible
  with requested version "6.0.0".

  The following configuration files were considered but not accepted:

    /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.115.0



-- Configuring incomplete, errors occurred!
username@T520i:~/Documents/mydata/333 apt IT docs, info, etc/my
smartphones/kdeconnect/kdeconnect-kde-master/build$ sudo cmake
-DCMAKE_INSTll_PREFIX=/usr ..
CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a configuration file for package "ECM" that is compatible
  with requested version "6.0.0".

  The following configuration files were considered but not accepted:

    /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.115.0



-- Configuring incomplete, errors occurred!
username@T520i:~/Documents/mydata/333 apt IT docs, info, etc/my
smartphones/kdeconnect/kdeconnect-kde-master/build$ cmake
-DCMAKE_INSTll_PREFIX=/usr ..
CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a configuration file for package "ECM" that is compatible
  with requested version "6.0.0".

  The following configuration files were considered but not accepted:

    /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.115.0



-- Configuring incomplete, errors occurred!
CMake Error: Unable to open check cache file for write.
/home/username/Documents/mydata/333 apt IT docs, info, etc/my
smartphones/kdeconnect/kdeconnect-kde-master/build/CMakeFiles/cmake.check_cache
username@T520i:~/Documents/mydata/333 apt IT docs, info, etc/my
smartphones/kdeconnect/kdeconnect-kde-master/build$ make
make: *** No targets specified and no makefile found.  Stop.

I think I am going to cry. Can anyone help?
I attached the entire output from the terminal.

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

Reply via email to