KMM Build Scripts

Brendan Coupe brendan at coupeware.com
Fri Jan 25 02:08:21 GMT 2019


I have been running my own scripts to compile, install and uninstall KMM
since back in the cvs days. I have recently updated them to make them more
user friendly, interactive and generic. I will post the latest versions of
the scripts on Google Drive for any interested users to try out. Your
feedback is welcome. The first public version can be found here:

https://drive.google.com/drive/folders/1sfo2HgzaCCSb3d7pjl3To50yoQT5BaXM

The basic steps are:

0) Read the README.txt file
1) Remove any version of KMM that you installed another way before using
running step 4. Step 3 is safe with an installed version of KMM.
2) Do your best to get the dependencies installed (hints in the README.txt
file, this is the hard part).
3) Run the BuildKMM.sh script, this does not install anything. If it does
not get to 100% it failed. Back to step 2.
4) Run the InstallKMM.sh script, this does install KMM. Don't run this
unless step 3 is successful.
5) Repeat steps 3 & 4 in order to move to a newer (or older) version of KMM
or between branches and/or releases.
6) Run the RemoveKMMBuilds.sh script to remove build directories of builds
you never plan to use again.
7) Run the UninstallKMM.sh script to Uninstall the currently installed
build that was installed with these scripts. This should be done before
reinstalling from any other source, such as your package manager.

To be clear, Uninstalled means uninstalling KMM from your system. Remove
means remove the build folders containing compiled versions you never plan
to install again. Never remove the installed version build folder (should
be impossible with the script). I install from source every week or two so
the old build directories can pile up. All builds are clean builds with
full source download. These scripts do not have any provisions for updating
an existing source tree fro git.

If you want to use these scripts to install an official KMM release just
download the release source code (kmymoney-5.0.2.tar.xz) and put it in your
build directory and run BuildKMM.sh.

I have run all of the scripts many times on 3 clean systems and have fixed
all of the bugs that I could find and added as many troubleshooting
messages as I could to help you understand what went wrong. Start with the
README.txt file, modify the ScriptsKMM.conf file as needed. Then try to
build and install. I know there are probably a lot of errors that I did not
run into so please help me find and fix them.

Please submit any questions to the KMM developer mailing list with the
above subject. If you have dependency issues please submit them to the
mailing list with a different subject. The developers have helped me solve
dependency problems many times.

----
Brendan Coupe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20190124/66004249/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BuildScriptsKMM-2019.01.24.tar.gz
Type: application/gzip
Size: 6077 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20190124/66004249/attachment-0001.gz>


More information about the KMyMoney-devel mailing list