[GNC] trouble compiling 3.2 release

John Griessen john at industromatic.com
Sat Sep 1 23:27:32 EDT 2018


I followed the directions for debian somehwat.

I made a separate build directory, copied some of the files from
gnucash-3.2/build to it,
then did:
cd gnucash3.2-build
cmake -D CMAKE_INSTALL_PREFIX=/usr/local/gnucash ../gnucash-3.2
make

and get this result:

Scanning dependencies of target scm-core-utils
[ 33%] Generating ../../lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go
Backtrace:
In /usr/bin/guild:
     72:17 19 (main _)
In srfi/srfi-1.scm:
     640:9 18 (for-each #<procedure 5592d2e75900 at scripts/compile.…> …)
In scripts/compile.scm:
    259: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 5592d2e65230>)
    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 5592d3092980 at lang…>)
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 5592d3092480 …>)
    260:13  2 (for-each #<procedure 5592d3092340 at ice-9/boot-9.scm…> …)
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
make[2]: *** [libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/build.make:62: lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go] 
Error 1
make[1]: *** [CMakeFiles/Makefile2:3867: libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all] Error 2
make: *** [Makefile:163: all] Error 2



More information about the gnucash-user mailing list