On Fri, 24 Dec 2021 at 17:07, Stephen M. Butler <stephen.m.butle...@gmail.com> wrote:
[...] > I am on Ubuntu 21.10 and have been lagging way behind. So tried this > morning. All was well until the libboost portion. > > *sudo apt -y update ** > **sudo apt -y upgrade ** > **sudo apt -y install git ** > **sudo apt -y build-dep gnucash * > [...] > > *sudo apt -y install libboost-program-options1.71-dev * > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > Package libboost-program-options1.71-dev is not available, but is > referred to by another package. > This may mean that the package is missing, has been obsoleted, or > is only available from another source > > E: Package 'libboost-program-options1.71-dev' has no installation candidate The previous script was to build on 20.04. You don't need to install it if you are using Ubuntu 21.10. I have just built gnucash on a fresh installation of Ubuntu 21.10 with the following script. Again, make sure you check the "Source Code" box in "Software and Updates". When I get around to it I want to add each script to the wiki so it is clear what is needed for each recent version. === build.sh === ## Ubuntu 21.10 ## In "Software and Updates": ## Tick "Source code" ## Tick "Community-maintained free and open-source software (Universe)" ## Change this if you want to build it somewhere else. SOURCEDIR="$HOME/Documents/gnucash/source" BUILDDIR="$HOME/Documents/gnucash/build" INSTALLDIR=/opt/gnucash sudo apt -y update sudo apt -y upgrade sudo apt -y build-dep gnucash sudo apt -y install git mkdir -p $SOURCEDIR mkdir -p $BUILDDIR ## Clone gnucash source from git, if it is not already there git clone https://github.com/Gnucash/gnucash.git $SOURCEDIR ## Checkout version 4.9 cd $SOURCEDIR git checkout -b 4.9 4.9 cd $BUILDDIR cmake -DCMAKE_INSTALL_PREFIX=$INSTALLDIR $SOURCEDIR make === End of build.sh === David _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.