Re: [GNC] Building 5.1 on Ubuntu 22.04
Mike,I had a similar problem on mageia-8. The newer gwenhywfar seems to be needed for aqbanking. I don't use that and when I turned it off in the make statement the build worked. Mike On Tuesday, May 30, 2023 at 09:54:38 AM GMT-8, M wrote: I am trying to build gnucash 5.1 on Ubuntu 22.04, if thats possible. I have run apt-get update and apt-get upgrade, and everything is up to date. I have run sudo apt build-dep gnucash, and receive: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. When running cmake, I get the following error: Requested 'gwenhywfar >= 5.6.0' but version of gwenhywfar is 5.1.3 Any idea how to install this update on Ubuntu 22.04? When I run sudo apt-get install gwenhywfar-tools I get gwenhywfar-tools is already the newest version (5.1.3-1build1) Is there any way to get the newer package on Ubuntu 22.04? Thanks, Mike ___ 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.
Re: [GNC] Building 5.1 on Ubuntu 22.04
Oh my gosh, I can't believe I did this. I am indeed running 20.04. I never upgraded this machine. Thanks for the quick response... I'll pay closer attention next time! Thanks, Mike On 5/30/23 14:26, Vincent Dawans wrote: Just FYI It's some of the aqbanking packages that have to be renamed since the instructions on https://wiki.gnucash.org/wiki/Installing_Dependencies. However gwenhywfar-toolsis still the same. For ubuntu 22.04 it should be: sudo apt install aqbanking-tools libaqbanking-dev sudo apt install gwenhywfar-tools libgwenhywfar79 libgwenhywfar-core-dev sudo apt install libgwengui-gtk3-79 libgwengui-gtk3-dev For your problem, make sure to run cat /etc/lsb-release to confirm you are using 22.04 and cat /etc/apt/sources.list to see which reposiories you are pointing to (jammy for 22.04, focal for 20.04). On Tue, May 30, 2023 at 11:08 AM Vincent Dawans wrote: Something is definitely off with your package manager. I am on ubuntu 22.04 as well and I have gwenhywfar-tools version 5.9.0-1 It's also the version reported on https://ubuntu.pkgs.org/22.04/ubuntu-universe-amd64/gwenhywfar-tools_5.9.0-1_amd64.deb.html Version 5.1.3 is the one reported for 20.04. So are you sure you are on 22.04? If so then somehow your package manager is still pointing to 20.04 repositories. https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/gwenhywfar-tools_5.1.3-1build1_amd64.deb.html I am able to build with no problem. I think the only changes were in installing a couple of packages shown on the wiki page where the old name has changed, but that was obvious as it failed when installing. On Tue, May 30, 2023 at 10:54 AM M wrote: I am trying to build gnucash 5.1 on Ubuntu 22.04, if thats possible. I have run apt-get update and apt-get upgrade, and everything is up to date. I have run sudo apt build-dep gnucash, and receive: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. When running cmake, I get the following error: Requested 'gwenhywfar >= 5.6.0' but version of gwenhywfar is 5.1.3 Any idea how to install this update on Ubuntu 22.04? When I run sudo apt-get install gwenhywfar-tools I get gwenhywfar-tools is already the newest version (5.1.3-1build1) Is there any way to get the newer package on Ubuntu 22.04? Thanks, Mike ___ 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.
Re: [GNC] Building 5.1 on Ubuntu 22.04
Just FYI It's some of the aqbanking packages that have to be renamed since the instructions on https://wiki.gnucash.org/wiki/Installing_Dependencies. However gwenhywfar-toolsis still the same. For ubuntu 22.04 it should be: sudo apt install aqbanking-tools libaqbanking-dev sudo apt install gwenhywfar-tools libgwenhywfar79 libgwenhywfar-core-dev sudo apt install libgwengui-gtk3-79 libgwengui-gtk3-dev For your problem, make sure to run cat /etc/lsb-release to confirm you are using 22.04 and cat /etc/apt/sources.list to see which reposiories you are pointing to (jammy for 22.04, focal for 20.04). On Tue, May 30, 2023 at 11:08 AM Vincent Dawans wrote: > Something is definitely off with your package manager. I am on ubuntu > 22.04 as well and I have gwenhywfar-tools version 5.9.0-1 > It's also the version reported on > https://ubuntu.pkgs.org/22.04/ubuntu-universe-amd64/gwenhywfar-tools_5.9.0-1_amd64.deb.html > > Version 5.1.3 is the one reported for 20.04. So are you sure you are on > 22.04? If so then somehow your package manager is still pointing to 20.04 > repositories. > > https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/gwenhywfar-tools_5.1.3-1build1_amd64.deb.html > > I am able to build with no problem. I think the only changes were in > installing a couple of packages shown on the wiki page where the old name > has changed, but that was obvious as it failed when installing. > > On Tue, May 30, 2023 at 10:54 AM M wrote: > >> I am trying to build gnucash 5.1 on Ubuntu 22.04, if thats possible. >> >> I have run apt-get update and apt-get upgrade, and everything is up to >> date. >> I have run sudo apt build-dep gnucash, and receive: >>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >> >> When running cmake, I get the following error: >>Requested 'gwenhywfar >= 5.6.0' but version of gwenhywfar is 5.1.3 >> >> Any idea how to install this update on Ubuntu 22.04? >> When I run >>sudo apt-get install gwenhywfar-tools >> I get >>gwenhywfar-tools is already the newest version (5.1.3-1build1) >> >> Is there any way to get the newer package on Ubuntu 22.04? >> >> Thanks, >> >> Mike >> >> ___ >> 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.
Re: [GNC] Building 5.1 on Ubuntu 22.04
Something is definitely off with your package manager. I am on ubuntu 22.04 as well and I have gwenhywfar-tools version 5.9.0-1 It's also the version reported on https://ubuntu.pkgs.org/22.04/ubuntu-universe-amd64/gwenhywfar-tools_5.9.0-1_amd64.deb.html Version 5.1.3 is the one reported for 20.04. So are you sure you are on 22.04? If so then somehow your package manager is still pointing to 20.04 repositories. https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/gwenhywfar-tools_5.1.3-1build1_amd64.deb.html I am able to build with no problem. I think the only changes were in installing a couple of packages shown on the wiki page where the old name has changed, but that was obvious as it failed when installing. On Tue, May 30, 2023 at 10:54 AM M wrote: > I am trying to build gnucash 5.1 on Ubuntu 22.04, if thats possible. > > I have run apt-get update and apt-get upgrade, and everything is up to > date. > I have run sudo apt build-dep gnucash, and receive: >0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > When running cmake, I get the following error: >Requested 'gwenhywfar >= 5.6.0' but version of gwenhywfar is 5.1.3 > > Any idea how to install this update on Ubuntu 22.04? > When I run >sudo apt-get install gwenhywfar-tools > I get >gwenhywfar-tools is already the newest version (5.1.3-1build1) > > Is there any way to get the newer package on Ubuntu 22.04? > > Thanks, > > Mike > > ___ > 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.
Re: [GNC] Building 5.1 on Ubuntu 22.04
Hi Mike, I am just trying to get set up with a dev enviro myself. To that end, I have made two efforts. 1. docker 2. VM I have docker scripts that seem to work to set up a new image with all the necessary build-tools, but running gnucash from within docker creates some challenges so I started a second effort to build a VM. For the VM I have two scripts that I execute to "build up" the box. I have attached both here (note these scripts are brand-new, so still some editing to do within them - hope they help); serveradmin@gnucash-dev:~$ cat -n gnucash-dev-setup.sh 1 2 # 3 # This will install all the necessary libraries and development 4 # of gnucash 5 # 6 # run as root 7 # 8 9 echo "update..." 10 apt-get update -q 11 apt-get upgrade -y 12 apt-get dist-upgrade -y 13 apt-get autoremove -y 14 15 # 16 # base stuff 17 # 18 echo "base stuff..." 19 apt-get install -y \ 20 wget \ 21 mc \ 22 vim \ 23 lynx \ 24 wget 25 26 # 27 # library build stuff 28 # 29 echo "library build stuff..." 30 apt-get install -y \ 31 libglib2.0-dev \ 32 pkg-config \ 33 make\ 34 dconf-cli\ 35 git \ 36 gettext \ 37 gcc \ 38 g++ \ 39 libxml2-dev \ 40 libxslt1-dev \ 41 xsltproc \ 42 webkit2gtk-4.0-dev \ 43 swig \ 44 guile-2.2-dev\ 45 gwenhywfar-tools \ 46 build-essential \ 47 libofx-dev \ 48 libgtest-dev \ 49 libdbi-dev \ 50 libxml2-utils\ 51 libboost-all-dev \ 52 libboost-date-time-dev \ 53 libboost-filesystem-dev \ 54 libboost-locale-dev \ 55 libboost-regex-dev \ 56 libboost-program-options-dev \ 57 libboost-system-dev 58 59 # 60 # gnucash build-dep stuff 61 # update sources.list so we can pull the "build-dep gnucash" below 62 # 63 echo "gnucash build-dep stuff" 64 # sed -i '/^#.*deb-src/s/^#//' /etc/apt/sources.list 65 echo "build-dep" 66 apt-get -y build-dep gnucash 67 68 echo "" 69 echo "" 70 echo "" 71 echo "" 72 echo "" 73 echo "all set! run 'gnucash-src-setup.sh' as your regular user to fetch and set up your dev working environment" 74 serveradmin@gnucash-dev:~$ cat -n gnucash-src-setup.sh 1 # 2 # Run this script to fetch and set up a dev 3 # environment. This will create the project 4 # folder called 'gnucash-dev' in your current 5 # folder, and then fetch the gnucash sources 6 # and set up a build-directory and then cause 7 # gnucash to build. At the end, you should 8 # have a good working gnucash binary available 9 # for executing. 10 # 11 12 mkdir gnucash-dev 13 cd gnucash-dev 14 git clone https://github.com/Gnucash/gnucash.git src 15 mkdir build 16 cd build 17 cmake ../src 18 ~mark petryk ~c:469-556-5075 ~t:4695565...@mms.att.net ~w:http://www.lorimarksolutions.com ~h:KG5OBY ~q:might as well... it's not getting any cheaper On 5/30/23 12:52, M wrote: I am trying to build gnucash 5.1 on Ubuntu 22.04, if thats possible. I have run apt-get update and apt-get upgrade, and everything is up to date. I have run sudo apt build-dep gnucash, and receive: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. When running cmake, I get the following error: Requested 'gwenhywfar >= 5.6.0' but version of gwenhywfar is 5.1.3 Any idea how to install this update on Ubuntu 22.04? When I run sudo apt-get install gwenhywfar-tools I get gwenhywfar-tools is already the newest version (5.1.3-1build1) Is there any way to get the newer package on Ubuntu 22.04? Thanks, Mike ___ 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: htt