> On Nov 13, 2019, at 4:45 PM, Stephen M. Butler <kg...@arrl.net> wrote:
>
> Decided to reorg within the GnuCash directory. Created Source and Build
> sub-directories and redid the clone with a v3.7 workfile for git tag of
> 3.7 under Source.
>
> Went to Build and created gnucash-3.7 directory and cd'd into it.
> Attempted the cmake (worked fine) and make dist (failed). I then
> cleaned the folder and did the cmake again followed by a make (which
> failed with the below list). But that then allowed the make dist to work.
>
> Try #1
>
> cmake --WITH_PYTHON=ON -DCMAKE_BUILD_TYPE=Release ../../Source/v3.7
>
> make dist
>
> Scanning dependencies of target dist-bindings-python-gnucash-core-c
> [ 0%] Generating gnucash_core.c, gnucash_core_c.py
> [ 0%] Built target dist-bindings-python-gnucash-core-c
> Scanning dependencies of target dist-ChangeLog
> make[3]: *** No rule to make target 'ChangeLog', needed by
> 'CMakeFiles/dist-ChangeLog'. Stop.
> make[2]: *** [CMakeFiles/Makefile2:132:
> CMakeFiles/dist-ChangeLog.dir/all] Error 2
> make[1]: *** [CMakeFiles/Makefile2:107: CMakeFiles/dist.dir/rule] Error 2
> make: *** [Makefile:197: dist] Error 2
>
>
> Try #2
>
> rm -rf *
>
> cmake --WITH_PYTHON=ON -DCMAKE_BUILD_TYPE=Release ../../Source/v3.7
>
> make #which failed with the below listing
>
> make dist #which now worked
>
> Is this normal having to do a 'make' before doing 'make dist'? Is there
> something that 'make' is doing that is needed by 'make dist'?
>
>
> I presume the below is due to my version of swig. <<Ubuntu 19.10>>
> <<Learning mode=ON>>
>
> =====================
>
> [ 18%] Generating swig-engine.c
> Scanning dependencies of target gncmod-engine
> [ 19%] Building CXX object
> libgnucash/engine/CMakeFiles/gncmod-engine.dir/Account.cpp.o
> /home/steve/Projects/GnuCash/Source/v3.7/libgnucash/engine/Account.cpp:244:13:
> error: static inline [-Werror]
> 244 | G_INLINE_FUNC void mark_account (Account *acc);
> | ^~~~~~~~~~~~~~~
> /home/steve/Projects/GnuCash/Source/v3.7/libgnucash/engine/Account.cpp:262:13:
> error: G_ADD_PRIVATE [-Werror]
> 262 | priv = GET_PRIVATE(acc);
> | ^~~~~~~~~~~~~~~
Nope, it's https://bugs.gnucash.org/show_bug.cgi?id=797407.
Regards,
John Ralls
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel