Thanks for the reply David,

I am building in ~/build-32.  Extracted tar file is in ~/Downloads/Applications/gnucash-3.2.

Command (from build-32) is 'cmake -DCMAKE_INSTALL_PREFIX=$HOME/build-32 -DWITH_AQBANKING=OFF ../Downloads/Applications/gnucash-3.2'. Then make (with '>& log.txt' added).

Output of log.txt is attached.

I have built on a similar machine, so I believe you are right that something in the over dependencies is wrong although I followed the same instructions from the wiki.  Mike


On 08/03/2018 04:47 AM, David Cousens wrote:
Mike,

It may be possible that there is a dependency that cmake doesn't check
for that may be missing. There would normally be an error message in
the output somewhere just before the "recipe for target failed"
message. If when you run make you use
make >& log.txt
you can dump the make output to a logfile and search it with the text
editor (xed). The other alternative is to edit the preferences for the
terminal and make sure the limit scrolllback checkbox is not set. You
can copy terminal output by selecting it, right click and copy or use
CTRL-Shift-C.

If you can post the make output either directly (if not too long) or
use a pastebin if it is very long, we should be able to help sort the
problem. If you are using Nabble you can attach files or attach then to
the email.

It would also help if you post the commands you used to setup the build
directory and the cmake command you used as the cmake command syntax is
very sensitive to the relative positioning of the source and build
directories.

David Cousens



[  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
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to