On:
cat /etc/os-release
NAME="Linux Mint"
VERSION="20 (Ulyana)"

aqbanking-cli versions
Versions:
 AqBanking-CLI: 6.5.3
 Gwenhywfar   : 5.9.0.0
 AqBanking    : 6.5.3.0

After successfully installing aqbanking 6.5.3 I was also able to compile gnucash 4.12 without getting any error message by running the commands below.
However if I run the executable from
~/Applications/gnucash-4.12/build-gnucash-4.12/bin/gnucash
I get the message: ERROR: In procedure scm-error: no code for module (gnucash utilities)

Here is what I have done:

cd ~/Applications/gnucash-4.12
mkdir build-gnucash-4.12
cd build-gnucash-4.12
cmake -DCMAKE_INSTALL_PREFIX=/opt  ..
# --- std-out -----------------------------------------------------
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
...
-- Performing Test standard_math_library_linked_to_automatically - Success
-- Configuring done
-- Generating done
-- Build files have been written to: ~/Applications/gnucash-4.12/build-gnucash-4.12

make
# --- std-out -----------------------------------------------------
Scanning dependencies of target guile-json-details-links
[  0%] Generating ../../share/guile/site/2.2/gnucash/json/builder.scm
[  0%] Generating ../../share/guile/site/2.2/gnucash/json/parser.scm
[  0%] Generating ../../share/guile/site/2.2/gnucash/json/syntax.scm
[  0%] Built target guile-json-details-links
...
Scanning dependencies of target swig-gnucash-core
[100%] Generating gnucash_core.c, gnucash_core_c.py
[100%] Built target swig-gnucash-core

~/Applications/gnucash-4.12/build-gnucash-4.12/bin/gnucash
# --- std-out -----------------------------------------------------
;;; WARNING: loading compiled file /home/osbert/Applications/gnucash-4.12/build-gnucash-4.12/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/utilities.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00" ;;; WARNING: loading compiled file /home/osbert/Applications/gnucash-4.12/build-gnucash-4.12/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/app-utils.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/osbert/Applications/gnucash-4.12/build-gnucash-4.12/share/guile/site/2.2/gnucash/app-utils.scm ;;; WARNING: loading compiled file /home/osbert/Applications/gnucash-4.12/build-gnucash-4.12/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/utilities.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00" ;;; WARNING: compilation of /home/osbert/Applications/gnucash-4.12/build-gnucash-4.12/share/guile/site/2.2/gnucash/app-utils.scm failed:
;;; ERROR: no code for module (gnucash utilities)
;;; WARNING: loading compiled file /home/osbert/Applications/gnucash-4.12/build-gnucash-4.12/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/utilities.go failed: ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
Backtrace:
In ice-9/boot-9.scm:
 160: 19 [catch #t #<catch-closure 563e7a363cc0> ...]
In unknown file:
   ?: 18 [apply-smob/1 #<catch-closure 563e7a363cc0>]
In ice-9/boot-9.scm:
3589: 17 [process-use-modules (((gnucash app-utils)))]
 705: 16 [map #<procedure 563e7a2f14c0 at ice-9/boot-9.scm:3589:25 (mif-args)> ((#))] 3590: 15 [#<procedure 563e7a2f14c0 at ice-9/boot-9.scm:3589:25 (mif-args)> (#)]
2867: 14 [resolve-interface (gnucash app-utils) #:select ...]
2792: 13 [#<procedure 563e7a2e7d60 at ice-9/boot-9.scm:2780:4 (name #:optional autoload version #:key ensure)> # ...]
3068: 12 [try-module-autoload (gnucash app-utils) #f]
2404: 11 [save-module-excursion #<procedure 563e7a5da480 at ice-9/boot-9.scm:3069:17 ()>]
3088: 10 [#<procedure 563e7a5da480 at ice-9/boot-9.scm:3069:17 ()>]
In unknown file:
   ?: 9 [primitive-load-path "gnucash/app-utils" ...]
In ice-9/eval.scm:
 505: 8 [#<procedure 563e7a23e4a0 at ice-9/eval.scm:499:4 (exp)> (use-modules #)]
In ice-9/psyntax.scm:
1106: 7 [expand-top-sequence ((use-modules (gnucash utilities))) () ...]
 989: 6 [scan ((use-modules (gnucash utilities))) () ...]
 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3589: 4 [process-use-modules (((gnucash utilities)))]
 705: 3 [map #<procedure 563e7a2f14c0 at ice-9/boot-9.scm:3589:25 (mif-args)> ((#))] 3590: 2 [#<procedure 563e7a2f14c0 at ice-9/boot-9.scm:3589:25 (mif-args)> (#)]
2870: 1 [resolve-interface (gnucash utilities) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: no code for module (gnucash utilities)
# --- end ---

Any help/feedback is very much appreciated. Thanks.
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to