Registered Member
|
Can't find solution to this error:
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:33 (find_package): Could not find a package configuration file provided by "ECM" (requested version 0.0.11) 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. I could not find a "ECM" package. Any help with this would be great! Thanks. -- Configuring incomplete, errors occurred! See also "/home/mitch/Build/kmymoney-5.0.1/CMakeFiles/CMakeOutput.log". |
Registered Member
|
You will have to find and install the package that provides one of the two files listed above. One way is to use packages.ubuntu.com and user the search function there, but it can also be done from the command line tool apt-file
and/or
For example:
After you have enabled source repos (from your other thread on the topic), and run
I think this list is the full dep list:
You will find many of these packages will not be available in Ubuntu 16.04, or at least have versions too old for Kmymoney, and will have to be compiled first as well: aqbanking, libgwenhywfar, libalkimia, ibgpgme at the very least. These deps also require other deps to be installed as well, and it became too cumbersome for me to create packages for my PPA. The latest version I have for 16.04 is 4.8 Compiling the dependencies itself is not overly difficult, it is the packaging aspect that I could not overcome with my limited time and skill level, unfortunately. It should be fairly easy for someone to make a snap, flatpak or appimage for, I'd wager. I have been thinking of trying this, if I find the time to get the desire to do so.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Great answer Claydoh!
Would it be better, as far as having deps readily available, if I updated to Ubuntu to 18.04? |
Registered Member
|
If you have 18.04, you don't have to compile it, as KMM 5.0.1 is already there
But yes, other than some of the compiler/tools needed, all (or most) of the deps are easily installed in 18.04 via running apt build-dep.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]