First I would upgrade those 191 packages. sudo apt update sudo apt upgrade
Make sure everything upgradable was upgraded. Check that you have build-essentials. On Sat, Jul 22, 2023, 14:15 Simon Roberts <si...@dancingcloudservices.com> wrote: > Hi all, I'm looking to build GNC 5.3 on my Ubuntu 20.04 box. I did this as > a trial run on a laptop with Ubuntu 22.04, where it went flawlessly. But, > on this 20.04 "production" machine, the same process is failing. I don't > want to upgrade this at this time if I can help it--it would disturb too > many other things that are working smoothly. > > I did this: > > $ sudo apt-get build-dep gnucash > Reading package lists... Done > Reading package lists... Done > Building dependency tree > Reading state information... Done > 0 upgraded, 0 newly installed, 0 to remove and 191 not upgraded. > > (I'm not sure why it installed nothing, I don't think I built GNC on this > before) > But then when I run the cmake process with: > > $ cmake -DCMAKE_INSTALL_PREFIX=${HOME}/gnucash5.3 gnucash-5.3/ > > It progresses a while before reporting: > > -- Checking for module 'gwenhywfar>=5.6.0' > -- Requested 'gwenhywfar >= 5.6.0' but version of gwenhywfar is 5.1.3 > CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 > (message): > A required package was not found > > At the risk of stating the obvious, it seems I have the older version: > > $ sudo apt list libgwenhywfar\* > Listing... Done > libgwenhywfar-core-dev/focal,now 5.1.3-1build1 amd64 [installed,automatic] > libgwenhywfar-data/focal,focal,now 5.1.3-1build1 all [installed,automatic] > libgwenhywfar-doc/focal,focal 5.1.3-1build1 all > libgwenhywfar79-dev/focal 5.1.3-1build1 amd64 > libgwenhywfar79/focal,now 5.1.3-1build1 amd64 [installed] > > And it doesn't seem that 20.04 is willing to upgrade this. > > Am I toast? Do I have to have Ubuntu 22.04 if I am to build this > successfully? Or can anyone offer a workaround (e.g. is it perhaps > practical to build the newer version of this library by hand?) > > Thanks for any ideas! > Cheers, > Simon > > -- > Simon Roberts > (303) 249 3613 > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.