[GNC-dev] [GNC-Dev]Gnucash-3.0 Build Error in make

DaveC49 davidcousens at bigpond.com
Mon Apr 16 01:59:09 EDT 2018


CMakeError.log
<http://gnucash.1415818.n4.nabble.com/file/t375329/CMakeError.log>  
CMakeOutput.log
<http://gnucash.1415818.n4.nabble.com/file/t375329/CMakeOutput.log>  
terminal_output.txt
<http://gnucash.1415818.n4.nabble.com/file/t375329/terminal_output.txt>  
Hi,

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
modules

 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
Backtrace:
In /usr/local/bin/guild:
    72:17 19 (main _)
In srfi/srfi-1.scm:
    640:9 18 (for-each #<procedure 1c46080 at scripts/compile.scm:2…> …)
In scripts/compile.scm:
   251:26 17 (_ _)
In system/base/target.scm:
     57:6 16 (with-target _ _)
In system/base/compile.scm:
    152:6 15 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …)
     43:4 14 (call-once _)
In ice-9/boot-9.scm:
    841:4 13 (with-throw-handler _ _ _)
In system/base/compile.scm:
    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)>) …)
In ice-9/boot-9.scm:
   2312:4  8 (save-module-excursion #<procedure 1f691e0 at language/…>)
In language/scheme/compile-tree-il.scm:
    31:15  7 (_)
In ice-9/psyntax.scm:
  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 (# #) #)
In ice-9/boot-9.scm:
  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…" …) …)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
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.2/gnucash/core-utils.go' failed
make[2]: *** [lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go] Error 1
CMakeFiles/Makefile2:3770: 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: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.

David Cousens



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html


More information about the gnucash-devel mailing list