Page 1 sur 1

Besoin d'aide pour compiler une version kmymoney

Posté : mer. 14 juil. 2021 16:20
par Joffrey77
Bonjour,

Je galere depuis le debut de l'installation de mint, en effet j'utilise depuis de nombreuses années Kmymoney qui me va tres bien, malheuresement il ne fait pas bon menage avec Mint.

Avec la version dépot j'ai un bug affichage génant lors d'une ventilation qui m'enpeche de lire correctement le contenu. J'ai essayé via QT5 integration, en modifiant le style, j'ai reussi a resoudre se probleme, mais l'intefration du coup est tres laide.

J'ai tenté egalement la version appimage, mais l'intégration est pourrie.

il me reste la derniere solution d'installer une version plus récente que les dépots avec les sources. j'ai essayé de regardé, mais je comprends pas.

j'ai trouvé les sources au git puis j'ai fais :

Code : Tout sélectionner

git clone https://invent.kde.org/office/kmymoney.git
ensuite j'ai mon repertoire KmyMoneyGit

je vous liste le contenu :

Code : Tout sélectionner

joffrey@joffrey-bureau:~/KmyMoneyGit$ dir
3rdparty			 docker
BUGS				 kmymoney
ChangeLog			 kmymoney.doxygen.in
ChangeLog.original		 LICENSES
clang-format-pre-commit-hook.sh  logo.png
cmake				 maintainer
CMakeLists.txt			 Messages.sh
config-kmymoney.h.cmake		 packaging
config-kmymoney-version.h.cmake  run-clang-format.sh
contrib				 TODO
CONTRIBUTING.md			 tools
doc
j'ai lu que c'etait plus simple avec checkinstall ( installer ) si je fais un :

Code : Tout sélectionner

joffrey@joffrey-bureau:~/KmyMoneyGit$ ./configure
bash: ./configure: Aucun fichier ou dossier de ce type
si quelqu'un d'experimenté pouvait m'aider, cela serait sympa, car la je bloque, je ne peux pas basculer completement sur mint a cause de ça et sa me prend la tete .....

Re: Besoin d'aide pour compiler une version kmymoney

Posté : mer. 14 juil. 2021 20:37
par Joffrey77
Déja, merci pour votre aide !

je bloque avec la commande :

Code : Tout sélectionner

joffrey@joffrey-bureau:~/KmyMoneyGit/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/
-- Working on branch master
-- Detected an unstable master branch
CMake Error at CMakeLists.txt:70 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 5.42) 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!
See also "/home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeOutput.log".
la commande rm -r build n'a pas fonctionnée non plus.

Re: Besoin d'aide pour compiler une version kmymoney

Posté : mer. 14 juil. 2021 21:05
par Joffrey77
Maintenant j'ai ça :

Code : Tout sélectionner

offrey@joffrey-bureau:~/KmyMoneyGit/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/
-- Working on branch master
-- Detected an unstable master branch
CMake Warning at CMakeLists.txt:107 (find_package):
  By not providing "FindGpgmepp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Gpgmepp", but
  CMake did not find one.

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

    GpgmeppConfig.cmake
    gpgmepp-config.cmake

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


-- Checking for module 'sqlcipher'
--   No package 'sqlcipher' found
-- Checking for module 'libofx'
--   No package 'libofx' found
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Svg" with any
  of the following names:

    Qt5SvgConfig.cmake
    qt5svg-config.cmake

  Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
  "Qt5Svg_DIR" to a directory containing one of the above files.  If "Qt5Svg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:120 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeOutput.log".
joffrey@joffrey-bureau:~/KmyMoneyGit/build$ 

Re: Besoin d'aide pour compiler une version kmymoney

Posté : jeu. 15 juil. 2021 10:17
par Joffrey77
Bonjour,

J'avais pas vu ta methode de bourrin :D j'ai finis a la mano, long et fastidieux, c'est impressionnant les trucs necessaires pour l'installation ( il y a meme kde providers, alors que les comptes n'interviennent pas dans kmyMoney.

Bref c'est pas grave, la il compile depuis quelques minutes, j'espere que cela va resoudre mon probleme graphique, on verra bien, j'avais meme pas vu que c'etait une version instable, d'ou surement les lib .dev a installer.

ça compile plutot vite je trouve, ' R3 2200, 23 G de ram, CGX geforce 1050 GTX.

merci pour synaptic, j'y pensais plus a celui-la :lol:

Bon allez bientot le verdict....

Re: Besoin d'aide pour compiler une version kmymoney

Posté : jeu. 15 juil. 2021 10:30
par Joffrey77
Procedure Terminer.

j'ai ça :

Code : Tout sélectionner

joffrey@joffrey-bureau:~/KmyMoneyGit/build/bin$ ./kmymoney
Model for "ST" loaded with 4 items in 0 ms
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Starting server failed. Try to remove stale socket.
WebConnect: Running in server mode
System icon theme as reported by QT:  "oxygen-mix-1.4"
App icon theme as configured in KMyMoney:  "system"
Obeying the system-wide icon theme, currently set to:  "oxygen-mix-1.4"
Icon theme "oxygen-mix-1.4" not found.
Model for "T" loaded with 1 items in 0 ms
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/gncimporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_csvimporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifexporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/onlinejoboutboxview.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/budgetview.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvimporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/konlinetasks_sepa.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_qif.so" Validity false
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifimporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_checkprinting.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_forecastview.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvexporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/checkprinting.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reconciliationreport.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so" Validity true
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/budgetview.so"
Plugins: budgetview loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/checkprinting.so"
Plugins: checkprinting loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvexporter.so"
Plugins: csvexporter loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvimporter.so"
Plugins: csvimporter loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so"
Plugins: forecastview loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/gncimporter.so"
Plugins: gncimporter loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifexporter.so"
Plugins: qifexporter loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifimporter.so"
Plugins: qifimporter loaded
Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reconciliationreport.so"
Plugins: reconciliation report loaded
Template successfully opened from "/usr/share/checkprinting/check_template.html"
Erreur de segmentation (core dumped)
joffrey@joffrey-bureau:~/KmyMoneyGit/build/bin$ 

Je vais essayer de redemarrer pour voir.

Re: Besoin d'aide pour compiler une version kmymoney

Posté : dim. 18 juil. 2021 18:04
par Joffrey77
Salut,

j'ai trouvé le log, le voici,

Code : Tout sélectionner

Determining if the include file windows.h exists failed with the following output:
Change Dir: /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_ff6d3/fast && /usr/bin/make -f CMakeFiles/cmTC_ff6d3.dir/build.make CMakeFiles/cmTC_ff6d3.dir/build
make[1] : on entre dans le répertoire « /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_ff6d3.dir/CheckIncludeFile.cxx.o
/usr/bin/c++  -D_BSD_SOURCE -D_XOPEN_SOURCE=500  -std=c++14 -o CMakeFiles/cmTC_ff6d3.dir/CheckIncludeFile.cxx.o -c /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: windows.h: Aucun fichier ou dossier de ce type
    1 | #include <windows.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_ff6d3.dir/build.make:66 : CMakeFiles/cmTC_ff6d3.dir/CheckIncludeFile.cxx.o] Erreur 1
make[1] : on quitte le répertoire « /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp »
make: *** [Makefile:121 : cmTC_ff6d3/fast] Erreur 2



Determining if the include file lmcons.h exists failed with the following output:
Change Dir: /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_d5f58/fast && /usr/bin/make -f CMakeFiles/cmTC_d5f58.dir/build.make CMakeFiles/cmTC_d5f58.dir/build
make[1] : on entre dans le répertoire « /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_d5f58.dir/CheckIncludeFile.cxx.o
/usr/bin/c++  -D_BSD_SOURCE -D_XOPEN_SOURCE=500  -std=c++14 -o CMakeFiles/cmTC_d5f58.dir/CheckIncludeFile.cxx.o -c /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: lmcons.h: Aucun fichier ou dossier de ce type
    1 | #include <lmcons.h>
      |          ^~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_d5f58.dir/build.make:66 : CMakeFiles/cmTC_d5f58.dir/CheckIncludeFile.cxx.o] Erreur 1
make[1] : on quitte le répertoire « /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp »
make: *** [Makefile:121 : cmTC_d5f58/fast] Erreur 2



Determining if the include file process.h exists failed with the following output:
Change Dir: /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_a4149/fast && /usr/bin/make -f CMakeFiles/cmTC_a4149.dir/build.make CMakeFiles/cmTC_a4149.dir/build
make[1] : on entre dans le répertoire « /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_a4149.dir/CheckIncludeFile.cxx.o
/usr/bin/c++  -D_BSD_SOURCE -D_XOPEN_SOURCE=500  -std=c++14 -o CMakeFiles/cmTC_a4149.dir/CheckIncludeFile.cxx.o -c /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: process.h: Aucun fichier ou dossier de ce type
    1 | #include <process.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_a4149.dir/build.make:66 : CMakeFiles/cmTC_a4149.dir/CheckIncludeFile.cxx.o] Erreur 1
make[1] : on quitte le répertoire « /home/joffrey/KmyMoneyGit/build/CMakeFiles/CMakeTmp »
make: *** [Makefile:121 : cmTC_a4149/fast] Erreur 2

J'ai reussi a integrer un peu mieux app image de kmmoney avec appimagelauchersetting, du coup je vais faire avec, c'est bcp mieux..

mais j'aimerai bien aller auu bout de cette compilation pour voir, et aussi pour ma propre experience.

Re: Besoin d'aide pour compiler une version kmymoney

Posté : dim. 19 sept. 2021 06:48
par alain
Bonjour.

Sujet archivé (en lecture seule) car 2 mois sans réponse.
Si besoin de rouvrir faire un MP à un membre de l'équipe ;)