Besoin d'aide pour compiler une version kmymoney

Répondre
Joffrey77
Messages : 156
Enregistré le : sam. 1 oct. 2016 09:22

Besoin d'aide pour compiler une version kmymoney

Message 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 .....
Asus B350 Prime plus, Ryzen 7 5700g, CGX Nvidia Geforce GTX 1050 Ti 4G,24 G de ram, Mint 21.1 Cinamon, Imprimante HP smart thanks 7600
( Double boot Mint 20.2 ,W10 )

- Portable Asus 17" X751L i3 4030U 1.9Ghz, 6 GB ram, 1HDD 1T: Windows10
Joffrey77
Messages : 156
Enregistré le : sam. 1 oct. 2016 09:22

Re: Besoin d'aide pour compiler une version kmymoney

Message 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.
Asus B350 Prime plus, Ryzen 7 5700g, CGX Nvidia Geforce GTX 1050 Ti 4G,24 G de ram, Mint 21.1 Cinamon, Imprimante HP smart thanks 7600
( Double boot Mint 20.2 ,W10 )

- Portable Asus 17" X751L i3 4030U 1.9Ghz, 6 GB ram, 1HDD 1T: Windows10
Joffrey77
Messages : 156
Enregistré le : sam. 1 oct. 2016 09:22

Re: Besoin d'aide pour compiler une version kmymoney

Message 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$ 
Asus B350 Prime plus, Ryzen 7 5700g, CGX Nvidia Geforce GTX 1050 Ti 4G,24 G de ram, Mint 21.1 Cinamon, Imprimante HP smart thanks 7600
( Double boot Mint 20.2 ,W10 )

- Portable Asus 17" X751L i3 4030U 1.9Ghz, 6 GB ram, 1HDD 1T: Windows10
Joffrey77
Messages : 156
Enregistré le : sam. 1 oct. 2016 09:22

Re: Besoin d'aide pour compiler une version kmymoney

Message 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....
Asus B350 Prime plus, Ryzen 7 5700g, CGX Nvidia Geforce GTX 1050 Ti 4G,24 G de ram, Mint 21.1 Cinamon, Imprimante HP smart thanks 7600
( Double boot Mint 20.2 ,W10 )

- Portable Asus 17" X751L i3 4030U 1.9Ghz, 6 GB ram, 1HDD 1T: Windows10
Joffrey77
Messages : 156
Enregistré le : sam. 1 oct. 2016 09:22

Re: Besoin d'aide pour compiler une version kmymoney

Message 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.
Asus B350 Prime plus, Ryzen 7 5700g, CGX Nvidia Geforce GTX 1050 Ti 4G,24 G de ram, Mint 21.1 Cinamon, Imprimante HP smart thanks 7600
( Double boot Mint 20.2 ,W10 )

- Portable Asus 17" X751L i3 4030U 1.9Ghz, 6 GB ram, 1HDD 1T: Windows10
Joffrey77
Messages : 156
Enregistré le : sam. 1 oct. 2016 09:22

Re: Besoin d'aide pour compiler une version kmymoney

Message 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.
Asus B350 Prime plus, Ryzen 7 5700g, CGX Nvidia Geforce GTX 1050 Ti 4G,24 G de ram, Mint 21.1 Cinamon, Imprimante HP smart thanks 7600
( Double boot Mint 20.2 ,W10 )

- Portable Asus 17" X751L i3 4030U 1.9Ghz, 6 GB ram, 1HDD 1T: Windows10
Avatar du membre
alain
Administrateur du site
Messages : 17314
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Besoin d'aide pour compiler une version kmymoney

Message 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 ;)
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
Répondre