Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-30 Thread Tom Weichmann
Yeah I have got to update soon, there are some reasons I haven't yet but those are going away. Anyway, I applied the change that John referred to (simple move of one line ~6 lines down [ https://github.com/Gnucash/gnucash/pull/1593/commits/3355546753cc082c8d61b28923389a3ac2352b63]) and started my

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread john
Oh, yeah. We changed the branch names, so for now there's only stable. If you don't want to re-clone, do this to get back in sync: git fetch origin git branch -m master stable git branch -u origin/stable stable git remote set-head origin -a Regards, John Ralls > On Mar 29, 2023, at

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Stephen M. Butler
Oh, forgot one minor detail.  I did a "git pull" on my gnucash git clone and then attempted to apply the commands that John posted a few messages back.  Didn't work as expected so I did the extreme and blew my clone away and redid it from github. Then compiled from the most recent patch:

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Stephen M. Butler
It might be easier to upgrade Ubuntu!  I am at 22.10. Stephen M Butler, PMP, PSM stephen.m.butle...@gmail.com kg...@arrl.net 253-350-0166 --- GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 On 3/29/23 15:39, Tom Weichmann wrote: So

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread john
The two build failures are the same. Herbert Thoma reported it on Monday (https://lists.gnucash.org/pipermail/gnucash-devel/2023-March/046617.html) and Richard Cohen has submitted https://github.com/Gnucash/gnucash/pull/1593 to fix it. Regards, John Ralls > On Mar 29, 2023, at 3:39 PM, Tom

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Tom Weichmann
So I took a guess and thought that since the README.dependencies doc required GCC 8.0 that it may also require g++ 8. Ubuntu 18.04 has several versions available including 6, 7 and 8. I had them all installed but gcc was linked to gcc7 and g++ was linked to g++7. I had already changed the link

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Tom Weichmann
Hi John, Thanks for the reply. Yes, the README.dependencies does state: Libraries/Deps -- required Version ___ cmake 3.10Build system manager and I do have 3.10 installed as you suspected. % cmake

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread john
Ubuntu's 18.04's Cmake is too old. target_compile_definitions for imported modules was introduced in Cmake 3.11 and Ubuntu 18.04 has 3,10.1. Our currently advertised minimum cmake *is* 3.10, but we didn't bump it for 5.0 and we usually do. I'm inclined to bump the minimum Cmake instead of going

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Tom Weichmann
Thanks Stephen, I replied to just you rather than all by accident. On Wed, Mar 29, 2023 at 5:33 PM Stephen M. Butler < stephen.m.butle...@gmail.com> wrote: > Tom, > Please respond via the list so everyone is included in the discussion. > > On 3/29/23 12:37, Tom Weichmann wrote: > > Hi Steven, >

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Stephen M. Butler
Tom, Please respond via the list so everyone is included in the discussion. On 3/29/23 12:37, Tom Weichmann wrote: Hi Steven, I also built on 22.04 (my laptop) successfully. The README.dependencies in the source lists the following versions for GLIB2 and GTK3: Libraries/Deps --

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Stephen M. Butler
On 3/29/23 11:57, Tom Weichmann wrote: Hi All, I'm still running Ubuntu 18.04 LTS which is still supported by Ubuntu albeit a bit old. I've been happily building all of the 4.x versions from source since the latest is not in this distro's repositories. Now i'm trying to build version 5,0 and

Re: [GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Robert Heller
At Wed, 29 Mar 2023 14:57:59 -0400 tommyc...@gmail.com wrote: > > Hi All, > > I'm still running Ubuntu 18.04 LTS which is still supported by Ubuntu > albeit a bit old. I've been happily building all of the 4.x versions from > source since the latest is not in this distro's repositories. Now

[GNC] Building 5.0 on Ubuntu 18.04

2023-03-29 Thread Tom Weichmann
Hi All, I'm still running Ubuntu 18.04 LTS which is still supported by Ubuntu albeit a bit old. I've been happily building all of the 4.x versions from source since the latest is not in this distro's repositories. Now i'm trying to build version 5,0 and I'm running into a failure with cmake: