> On Oct 23, 2019, at 11:15 AM, lists+gnuc...@alexandervowinkel.de wrote:
>
> Hi,
>
>
> I am trying to compile gnucash.
>
> I downloaded the tarball gnucash-3.7.tar.bz2,
> installed and compiled all necessary dependencies,
> run
> mkdir mybuild && cd mybuild && cmake -DCMAKE_INSTALL_PREFIX=/opt/gnucash ..
> and then (inside the build directory)
> make
>
> and I get the following errors (snip, full in attachement)
>
> [ 19%] Building CXX object
> libgnucash/engine/CMakeFiles/gncmod-engine.dir/Account.cpp.o
> /build/libgnucash/engine/Account.cpp:244:13: error: static inline [-Werror]
> 244 | G_INLINE_FUNC void mark_account (Account *acc);
> | ^~~~~~~~~~~~~~~
> /build/libgnucash/engine/Account.cpp:262:13: error: G_ADD_PRIVATE [-Werror]
> 262 | priv = GET_PRIVATE(acc);
> | ^~~~~~~~~~~~~~~
>
> I am building inside a docker container (but this shouldn't be the problem, I
> guess).
>
> What is the problem here?
Your Glib is too new. ;-)
See https://bugs.gnucash.org/show_bug.cgi?id=797407.
The simplest solution for you would be to build the maint branch from git.
Regards,
John Ralls
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel