[GNC-dev] [GNC-Dev]Gnucash-3.0 Build Error in make
davidcousens at bigpond.com
Mon Apr 16 01:59:09 EDT 2018
Building Gnucash 3.0 on Linux Mint 18.3
I'm currently using a build-cmake directory which is in the parent directory
of the gnucash-3.0 directory unpacked from the gnucash-3.0.tar.bz2 archive I
downloaded. I have previously also built it with build-cmake located in the
gnucash-3.0 folder but receive the same error as below.
The patches to detect the GTEST and GMOCK shared
librariesto~/comon/cmake-modules/GncAddTest have been applied and both are
being detected while running cmake.
I was originally running guile-2.0.0 and received the same error as below.
Seeing it was in the scm-core-utils I upgraded guile first to 2.2.0 and then
to 2.2.3 and am still getting the same error as described below.
The cmake command is
$cmake -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_AQBANKING=OFF -D
WITH_OFX=ON ../gnucash-3.0 which is running without error and finding all
I'm receiving the following error when running make after running Cmake as
above while building the scm-core utils:
Scanning dependencies of target scm-core-utils
[ 30%] Generating ../../lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go
72:17 19 (main _)
640:9 18 (for-each #<procedure 1c46080 at scripts/compile.scm:2…> …)
251:26 17 (_ _)
57:6 16 (with-target _ _)
152:6 15 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …)
43:4 14 (call-once _)
841:4 13 (with-throw-handler _ _ _)
59:11 12 (_)
155:11 11 (_ #<closed: file 1e67690>)
235:18 10 (read-and-compile #<input: core-utils.scm 13> #:from _ # …)
183:32 9 (compile-fold (#<procedure compile-tree-il (x e opts)>) …)
2312:4 8 (save-module-excursion #<procedure 1f691e0 at language/…>)
31:15 7 (_)
1235:36 6 (expand-top-sequence ((re-export #)) _ _ #f c (# load …) …)
1182:24 5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
285:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (# #) #)
2071:24 3 (call-with-deferred-observers #<procedure 1f70880 at ic…>)
260:13 2 (for-each #<procedure 1f70700 at ice-9/boot-9.scm:3483…> …)
In unknown file:
1 (scm-error misc-error #f "~A ~S" ("Undefined variab…" …) …)
752:25 0 (dispatch-exception _ _ _)
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
Undefined variable: gnc-build-userdata-path
for target 'lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go' failed
make: *** [lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go] Error 1
CMakeFiles/Makefile2:3770: recipe for target
make: *** [libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all] Error
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
The CmakeError.log, CMakeOutput.log and the terminal output while building
as above are attached if someone can see any problems I did not recognize.
John I was not able to locate the thread you mentioned in an earlier post
where Geert was helping someone with a similar problem.
Thanks in advance for any help you can offer.
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
More information about the gnucash-devel