[Slackbuilds-users] ponce.org - can't compile gnucash-3.7
poprocks at gmail.com
Thu Oct 24 02:44:12 UTC 2019
On Wed, Oct 23, 2019 at 06:30:05PM +0100, mcmurchy1917techy via SlackBuilds-users wrote:
> I've got a reasonably up to date current with multilib and ktown.
> Trying to compile gnucash-3.7, downloaded from ponce this morning, and get
> > /tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c: In function
> > 'gnc_budget_get_rec_time':
> > /tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c:724:13: error:
> > G_ADD_PRIVATE [-Werror]
> > 724 | return recurrenceGetTime(&(GET_PRIVATE(bgt)->recurrence));
> > | ^~~~~~~~~~~~~~~
> > cc1: all warnings being treated as errors
> Took the advice of the error log and changed the gnucash.SlackBuild, to
> ignore warnings, as follows -
> > 51c51
> > < SLKCFLAGS="-O2 -fPIC"
> > ---
> > > SLKCFLAGS="-O2 -fPIC -Wno-error"
> It now compiles successfully. Have I -
> 1. missed some new instructions on this list
> 2. got something missing on my system
> 3. or now simply do have to ignore warnings
> 4. or something else
I believe an update to glib2 (2.62+) caused some similar issues. Many
SlackBuilds on -current have had to be modified to prevent this.
See this section of the relevant thread on LQ:
More information about the SlackBuilds-users