On 09/02/2018 10:40 AM, Colin Law wrote:
Don't try and install to the source or build directory, if that is
what you are trying to do.
No, they were not the same dir. This is not urgent now, but a mystery.
I have started using 2.6.15-1 gnucash successfully, so not urgent.
Today I also tried from scratch from git and same result almost:
cd /moresource
git clone https://github.com/Gnucash/gnucash.git gnucash
git checkout -b gnucash3.2 3.2
cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /moresource/gnucash
make
.
.
.
[ 28%] Building C object
libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/guile-util.c.o
[ 28%] Building C object
libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/option-util.c.o
[ 28%] Building C object
libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/swig-app-utils-guile.c.o
[ 28%] Linking C shared library ../../lib/gnucash/libgncmod-app-utils.so
[ 28%] Built target gncmod-app-utils
Scanning dependencies of target swig-app-utils-python
[ 28%] Generating swig-app-utils-python.c, sw_app_utils.py
[ 28%] Built target swig-app-utils-python
Scanning dependencies of target scm-gnc-module
[ 28%] Generating ../../lib/gnucash/scm/ccache/2.2/gnucash/gnc-module.go
wrote `/mosource/gnucash/build/lib/gnucash/scm/ccache/2.2/gnucash/gnc-module.go'
[ 28%] Built target scm-gnc-module
Scanning dependencies of target scm-core-utils
[ 28%] 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 55653d24c900 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 55653d23b230>)
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 55653d4799e0 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 55653d4794e0 …>)
260:13 2 (for-each #<procedure 55653d4793a0 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:4053:
libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all] Error 2
make: *** [Makefile:163: 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.