[GNC] trouble compiling 3.2 release

Geert Janssens geert.gnucash at kobaltwit.be
Sun Sep 2 07:57:15 EDT 2018


The most likely cause is your build is picking the wrong version of libgncmod-
app-utils.so (which is also generated as part of the build itself).

This can be either because you are building over an old build (which is why 
John suggested to start clean) or you have in older version of gnucash 
installed and your system finds the library in that installation first.

So as second possible solution: uninstall any system-installed version of 
gnucash in /usr or /usr/local.

For completeness I have to say I don't see this issue when building on Fedora. 
I still have gnucash 2.6.21 installed from the Fedora repository. but ymmv on 
other platforms.

Geert

Op zondag 2 september 2018 05:27:32 CEST schreef John Griessen:
> 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
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.






More information about the gnucash-user mailing list