> On Feb 8, 2018, at 3:18 PM, Klaus Dahlke <kdah...@gmx.de> wrote: > > John, > thanks for that, I am almost there. > I did: > > cmake -G Ninja -D CMAKE_INSTALL_PREFIX=/mnt/rd/gnucash_dev -D WITH_SQL=ON -D > WITH_AQBANKING=ON -D WITH_GNUCASH=ON .. > > which run through without issue. > > But then when running 'ninja' an error occures at: > > [785/905] Generating > ../../../lib64/gnucash/scm/ccache/2.2/qif-import/qif-import.go > FAILED: lib64/gnucash/scm/ccache/2.2/qif-import/qif-import.go > cd /mnt/rd/gnucash-2.7.4/build/gnucash/import-export/qif-imp && > /usr/bin/cmake -E env > LD_LIBRARY_PATH=/mnt/rd/gnucash-2.7.4/build/lib64:/mnt/rd/gnucash-2.7.4/build/lib64/gnucash: > GNC_UNINSTALLED=YES GNC_BUILDDIR=/mnt/rd/gnucash-2.7.4/build > GUILE_LOAD_PATH=/mnt/rd/gnucash-2.7.4/gnucash/import-export/qif-imp > GUILE_LOAD_COMPILED_PATH=/mnt/rd/gnucash-2.7.4/build/lib64/gnucash/scm/ccache/2.2 > > GNC_MODULE_PATH=/mnt/rd/gnucash-2.7.4/build/lib64:/mnt/rd/gnucash-2.7.4/build/lib64/gnucash: > /usr/bin/guile -e '(@@ (guild) main)' -s /usr/bin/guild compile -o > /mnt/rd/gnucash-2.7.4/build/lib64/gnucash/scm/ccache/2.2/qif-import/qif-import.go > /mnt/rd/gnucash-2.7.4/gnucash/import-export/qif-imp/qif-import.scm > Backtrace: > In scripts/compile.scm: > 251:26 19 (_ _) > In system/base/target.scm: > 57:6 18 (with-target _ _) > In system/base/compile.scm: > 152:6 17 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …) > 43:4 16 (call-once _) > In ice-9/boot-9.scm: > 841:4 15 (with-throw-handler _ _ _) > In system/base/compile.scm: > 59:11 14 (_) > 155:11 13 (_ #<closed: file 564255e57690>) > 235:18 12 (read-and-compile #<input: qif-import.scm 13> #:from _ # …) > 183:32 11 (compile-fold (#<procedure compile-tree-il (x e opts)>) …) > In ice-9/boot-9.scm: > 2312:4 10 (save-module-excursion #<procedure 56425603c480 at lang…>) > In language/scheme/compile-tree-il.scm: > 31:15 9 (_) > In ice-9/psyntax.scm: > 1235:36 8 (expand-top-sequence ((use-modules (gnucash #))) _ _ #f …) > 1182:24 7 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …) > 285:10 6 (parse _ (("placeholder" placeholder)) (()) _ c&e (# #) #) > In ice-9/boot-9.scm: > 3365:20 5 (process-use-modules _) > 222:17 4 (map1 (((gnucash app-utils)))) > 3366:31 3 (_ ((gnucash app-utils))) > 2791:6 2 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …) > In unknown file: > 1 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …) > In ice-9/boot-9.scm: > 752:25 0 (dispatch-exception _ _ _) > > ice-9/boot-9.scm:752:25: In procedure dispatch-exception: > no code for module (gnucash app-utils) > > > I have guile-1.8, guile-2.0 and guile-2,2 on the system, but idoesn't seems > that there is a switch for teh guile version for cmake
Klaus, That usually means that guile is finding the wrong libgncmod-apputils.so. If you have an installed /usr/bin/gnucash and associated libraries you need to hide them somehow so that when guile tries to dlopen libgncmod-apputils.so it gets the one you’ve just built. If it’s just a libgncmod-apputils.so from a previous ninja install then it’s easier, just delete it. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel