<div dir="ltr"><div dir="ltr"><div>TLDR:<br>Is there an up to date list of strictly versioned distro+dependencies that is known to work for building/running the stable branch? I am happy to use any distro as I'm trying to build a docker container to build/test. <br></div><div><br>Details:<br>It seems the build instructions are a bit of a mess currently. <br><br></div>To start in the README in github:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Developing GnuCash<br>------------------<br>Before you start developing GnuCash, you should do the following:<br>1. Read <a href="https://wiki.gnucash.org/wiki/Development" target="_blank">https://wiki.gnucash.org/wiki/Development</a><br>2. Look over the doxygen-generated documentation at<br> <a href="https://code.gnucash.org/docs/MASTER/" target="_blank">https://code.gnucash.org/docs/MASTER/</a> or<br> <a href="https://code.gnucash.org/docs/MAINT/" target="_blank">https://code.gnucash.org/docs/MAINT/</a></blockquote><div><br></div><div>doxygen doc links are both broken. Following <a href="https://wiki.gnucash.org/wiki/Development" target="_blank">https://wiki.gnucash.org/wiki/Development</a>:</div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">A general description of the tools used to configure and build GnuCash is given in <a href="https://wiki.gnucash.org/wiki/Build_Tools" title="Build Tools" target="_blank">Build tools</a>.
</blockquote><div><br></div><div>This lists Make, Ninja, CMake, and Autotools, but what min/max versions? <br></div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">A listing of dependencies is available at <a href="https://wiki.gnucash.org/wiki/Dependencies" title="Dependencies" target="_blank">Dependencies</a>.
</blockquote><div><br></div><div>This only lists up to version 4.11 <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Detailed instructions for building GnuCash on Linux distributions can be found on Building On Linux. </blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://wiki.gnucash.org/wiki/Install_Build_Tools" title="Install Build Tools" target="_blank">Installing the Build Tools</a>; <br></blockquote><div><br></div><div>There we find:<br>build-essential<br></div><div>make<br></div><div>cmake<br>build-essential<br>autoconf<br>automake<br>libtool</div><div>m4<br><br></div><div>But again with no dist/version restrictions mentioned. There is a lot of wordage in the docs cautioning about all the differences between distros/packages, but no central source for which distro/version + dependencies/versions is known to work. <br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://wiki.gnucash.org/wiki/Installing_Dependencies" title="Installing Dependencies">Installing Dependencies</a>.</blockquote><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Up to date information on the dependencies may be obtained from:
</blockquote>
<ul><li><blockquote> the <a href="https://wiki.gnucash.org/wiki/Dependencies" title="Dependencies">Dependencies</a> wiki page;</blockquote></li></ul> This again points to the info up to version 4.11<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a rel="nofollow" class="external gmail-text" href="https://github.com/Gnucash/gnucash/blob/master/README.dependencies">GitHub GnuCash master branch README.dependencies</a>; or<br></blockquote><div><br></div><div>This points to a file committed 8 years ago, though it does have explicit version tags for dependencies! :D <br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">sudo apt install libtool libltdl-dev<br>sudo apt install icu-devtools libicu-dev<br>sudo apt install libglib2.0-0 libglib2.0-dev #glib2 > v2.40.0<br>sudo apt install libboost-all-dev # boost > 1.50.0 - requires locale and regex built with ICU support<br>sudo apt install guile-2.0 guile-2.0-dev # guile >=2.0.0<br>sudo apt install swig2.0 # swig >2.0.10 - swig3.0 on some systems<br> # not required if building from tarball,<br> # but required if building from a git clone<br>sudo apt install libxml2 libxml++2.6-dev libxml2-utils<br>sudo apt install libxslt1.1 libxslt1-dev<br>sudo apt install xsltproc<br>sudo apt install texinfo # required for makeinfo<br>sudo apt install libsecret-1-0 libsecret-1-dev<br># Only use the next 2 lines if you have not installed [[Google_Test | Google Test]] already.<br>sudo apt install libgtest-dev # >=1.7.0<br>sudo apt install google-mock # 1.8.0 installs googlemock in a subdirectory of gtest<br>sudo apt install libgtk-3-dev libgtk-3-bin # gtk+3.0 >= 3.22.30<br>sudo apt install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev # > webkit2gtk-3.0</blockquote><div><br></div><div>Many of these are out of date on Ubuntu 22.04:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package 'guile-2.0' has no installation candidate<br>Unable to locate package guile-2.0-dev<br>Couldn't find any package by glob 'guile-2.0-dev'<br>Couldn't find any package by regex 'guile-2.0-dev'<br>Package 'swig2.0' has no installation candidate<br>Version '1.8.0' for 'google-mock' was not found </blockquote><div><br></div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Building and Installing the GnuCash Program <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The easy way to install most of GnuCash's dependencies is to use your package manager's build dependencies feature as root:</blockquote><div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">apt-get build-dep gnucash # Debian based <br></blockquote></div></div></div></div></div><div><br></div><div>Returns:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Reading package lists... Done</blockquote><div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">E: Unable to find a source package for gnucash</blockquote><div><br></div><div>What about this arch based Dockerfile?<br><a href="https://github.com/Gnucash/gnucash/blob/5ce3a9dd1d88c4717a7718c6d556b1235ac7536c/util/ci/actions/archlinux-test/Dockerfile">https://github.com/Gnucash/gnucash/blob/5ce3a9dd1d88c4717a7718c6d556b1235ac7536c/util/ci/actions/archlinux-test/Dockerfile</a><br><br></div><div>Is this enough to build and run or is this just enough for the ci tests? <br><br></div><div>Is no one maintaining a Docker Image/file for repeatable builds? How are releases/flatpak builds maintained? <br><br></div><div>I'll keep trial/error installing everything to an Ubuntu 22.04 docker base image to see how far I can get in the meantime. <br></div><div><br></div><div>Thanks in advance!<br></div></div><div><br></div></div></div></div>
</div>