Stephen, Jeff Try $apt-cache search libboost
This will list the libboost options available to install from apt. If libboost- program-options1.71-dev is not listed it is possible that there will be a generic version libboost-program-options-dev or libboost-program-options1.67- dev or possibly even a more recent version if one exists. AFAIK the libboost- program-options-dev will load the most recent available version of the library. GC will work with v1.67 or 1,71 of libboost. Once you have identified a candidate for libboost to install use $sudo apt -y install libboost-program-options-dev in a terminal and substitute the equivalent packager name if you want to install a specific version. Alternatively $sudo apt -y install libboost-all-=dev will load all the libboost header files. (this is useful if you want to build libboost from sources but is likely overkill otherwise). $dpkg -l | grep libboost will list all the installed libboost packages on your computer. In most cases GC will usually work with newer versions of libraries than what is specified in README.dependencies but very occasionally an incompatible change may have been intorduced and you may have to load an earlier version David Cousens On Fri, 2021-12-24 at 09:06 -0800, Stephen M. Butler wrote: > On 12/24/21 06:30, david whiting wrote: > > Hi Jeff, > > > > The script below will build version 4.9 on Ubuntu 20.04 LTS. I have > > verified this on a clean installation of Ubuntu. > > One thing that tripped me up a few times is remembering to tick > > "Source Code" in the Software And Updates dialogue. If you don't do > > this, it will fail. > > Please note that I have used -y with apt install so it will install > > and build without asking. > > > > I will try to get around to putting this in the wiki to make it easier > > for people to find. > > > > === build.sh === > > > > ## Ubuntu 20.04 > > ## 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" > > > > ## Change this if you want to install it somewhere else. > > INSTALLDIR=/opt/gnucash > > > > sudo apt -y update > > sudo apt -y upgrade > > sudo apt -y install git > > sudo apt -y build-dep gnucash > > > > ## To build series 4 of gnucash on Ubuntu 20.04 > > sudo apt -y install libboost-program-options1.71-dev > > > > mkdir -p $SOURCEDIR > > mkdir -p $BUILDDIR > > > > ## Clone gnucash source from git > > 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 === > > > > Fingers-crossed this will work for you. > > > > > > David > 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 * > > Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease > Hit:2 http://us.archive.ubuntu.com/ubuntu impish InRelease > Get:3 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease [110 kB] > Hit:4 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu impish InRelease > Hit:5 http://archive.canonical.com/ubuntu impish InRelease > Hit:6 http://ppa.launchpad.net/teejee2008/ppa/ubuntu impish InRelease > Get:7 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease > [101 kB] > Get:8 http://us.archive.ubuntu.com/ubuntu impish-security InRelease [110 > kB] > Hit:9 http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu impish > InRelease > Hit:10 http://ppa.launchpad.net/ubuntuhandbook1/avidemux/ubuntu impish > InRelease > Fetched 321 kB in 2s (197 kB/s) > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > All packages are up to date. > > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > Calculating upgrade... Done > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > git is already the newest version (1:2.32.0-1ubuntu1). > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > Reading package lists... Done > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > > *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 > > > > > _______________________________________________ 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.