[GNC] Compile of 3.2 fails

Michael mjchurchil at aol.com
Fri Aug 3 17:36:17 EDT 2018


Geert, You may be right.  Over a few years, I have built or installed 
several 2.6.x versions, including 2.6.21 which is still on the machine.  
It may be that I am looking at a clean install. I don't know how I would 
get rid of all the old installs and associated files.  A more complete 
log file is attached.  Mike


On 08/03/2018 06:50 AM, Geert Janssens wrote:
> Op vrijdag 3 augustus 2018 01:15:31 CEST schreef Michael via gnucash-user:
>> I am trying to build gnucash-3.2 on Linux Mint just upgraded to 19.
>> cmake was successful.  make fails at about 30%.  Generating
>> ../../lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go.  recipe for
>> target failed.
>>
>> I thought I had it made when cmake worked.  Any ideas?  Mike
> Unfortunately you have only included the very last line of the build error.
> The more useful details are in the lines above.
>
> My first guess would be that you still have gnucash 2.6.x installed on your
> system. During build gnucash will try to link against other built files.
> However if these files are also present from an installed gnucash it looks
> like these are found first. And in this case that could fail.
>
> Can you uninstall gnucash 2.6.x and restart the build ?
>
> Geert
>
>

-------------- next part --------------
[  0%] Built target guile-json
[  0%] Built target guile-json-details
[  5%] Built target po-gmo
[ 17%] Built target po-gmo-build
[ 17%] Built target gnc-module
[ 17%] Built target gnc-vcs-info
[ 17%] Built target swig-runtime-h
[ 18%] Built target gnc-core-utils
[ 18%] Built target iso-4217-c
[ 25%] Built target gncmod-engine
[ 25%] Built target test-core
[ 25%] Built target test-core-guile
[ 25%] Built target scm-test-core
[ 25%] Built target gtest
[ 27%] Built target gmock
[ 30%] Built target gncmod-app-utils
[ 30%] Built target scm-gettext
[ 30%] Built target scm-gnc-module
[ 30%] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go
Backtrace:
In srfi/srfi-1.scm:
 616: 19 [for-each #<procedure 55a329162680 at scripts/compile.scm:187:14 (file)> #]
In scripts/compile.scm:
 190: 18 [#<procedure 55a329162680 at scripts/compile.scm:187:14 (file)> "/home/michaelj/Downloads/Applications/gnucash-3.2/libgnucash/core-utils/core-utils.scm"]
In system/base/target.scm:
  59: 17 [with-target "x86_64-pc-linux-gnu" ...]
In system/base/compile.scm:
 152: 16 [compile-file "/home/michaelj/Downloads/Applications/gnucash-3.2/libgnucash/core-utils/core-utils.scm" ...]
  43: 15 [call-once #<procedure 55a329296c40 at system/base/compile.scm:56:5 ()>]
In ice-9/boot-9.scm:
 174: 14 [with-throw-handler #t ...]
In system/base/compile.scm:
  59: 13 [#<procedure 55a329296c00 at system/base/compile.scm:58:9 ()>]
 155: 12 [#<procedure 55a329296c80 at system/base/compile.scm:153:8 (port)> #<closed: file 0>]
 218: 11 [read-and-compile #<input: core-utils.scm 9> #:from ...]
 234: 10 [lp (# # # # ...) #<directory # 55a329432360> #<directory # 55a329432360>]
 182: 9 [lp # # # ...]
In ice-9/boot-9.scm:
2404: 8 [save-module-excursion #<procedure 55a32954a4e0 at language/scheme/compile-tree-il.scm:29:3 ()>]
In language/scheme/compile-tree-il.scm:
  31: 7 [#<procedure 55a32954a4e0 at language/scheme/compile-tree-il.scm:29:3 ()>]
In ice-9/psyntax.scm:
1106: 6 [expand-top-sequence ((re-export gnc-build-userdata-path)) () ...]
 989: 5 [scan ((re-export gnc-build-userdata-path)) () ...]
 279: 4 [scan ((# #)) () (()) ...]
In ice-9/boot-9.scm:
2097: 3 [call-with-deferred-observers #<procedure 55a329550c30 at ice-9/eval.scm:416:20 ()>]
 771: 2 [for-each #<procedure 55a329550c00 at ice-9/boot-9.scm:3717:14 (name)> #]
In unknown file:
   ?: 1 [scm-error misc-error #f ...]
In ice-9/boot-9.scm:
 109: 0 [#<procedure 55a329296bc0 at ice-9/boot-9.scm:100:6 (thrown-k . args)> misc-error ...]

ice-9/boot-9.scm:109:20: In procedure #<procedure 55a329296bc0 at ice-9/boot-9.scm:100:6 (thrown-k . args)>:
ice-9/boot-9.scm:109:20: Undefined variable: gnc-build-userdata-path
libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/build.make:61: recipe for target 'lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go' failed
make[2]: *** [lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go] Error 1
CMakeFiles/Makefile2:3901: recipe for target 'libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all' failed
make[1]: *** [libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2


More information about the gnucash-user mailing list