Thanks Rob. Just tried that route (cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF -G Ninja ../gnucash/ && ninja && ninja check && ninja install).
Ran into a new problem: ninja: error: '/home/bhardwajs/ac/devel/gnucash/cmake/ofx-gschema', needed by 'share/glib-2.0/schemas/gschemas.compiled', missing and no known rule to make it This directory (cmake/ofx-gschema) doesn't exist in master. Am I missing something? Thanks, Sumit On Sat, Sep 9, 2017 at 9:06 AM, Rob Gowin <r...@gowin.net> wrote: > > > On Sep 9, 2017 10:37 AM, "Sumit Bhardwaj" <bhardw...@gmail.com> wrote: > > Hi, > > After pulling master, I decided to do a cmake build instead of the usual > autotools. Ran into problems as detailed below. Autotools work smoothly. I > would try to make more headway, but I don't understand scheme and a quick > stack overflow search didn't show anything that I could try either. > > Thanks, > Sumit > > Fedora 26 > guile version: 2.0.14 > > Command: > cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF -G Ninja ../gnucash/ && ninja > check && ninja install > > Error message: > [984/1000] Generating > ../../../lib/gnucash/scm/ccache/2.0/gnucash/report/invoice.go > FAILED: lib/gnucash/scm/ccache/2.0/gnucash/report/invoice.go > cd /home/bhardwajs/ac/devel/build_gnucash/gnucash/report/business-reports > && /usr/bin/cmake -E env > LD_LIBRARY_PATH=/home/bhardwajs/ac/devel/build_gnucash/lib:/ > home/bhardwajs/ac/devel/build_gnucash/lib/gnucash: > GNC_UNINSTALLED=YES GNC_BUILDDIR=/home/bhardwajs/ac/devel/build_gnucash > GUILE_LOAD_PATH=/home/bhardwajs/ac/devel/gnucash/gnucash/ > report/business-reports:/home/bhardwajs/ac/devel/build_ > gnucash/share/gnucash/scm > GUILE_LOAD_COMPILED_PATH=/home/bhardwajs/ac/devel/build_gnuc > ash/lib/gnucash/scm/ccache/2.0 > GNC_MODULE_PATH=/home/bhardwajs/ac/devel/build_gnucash/lib:/ > home/bhardwajs/ac/devel/build_gnucash/lib/gnucash: > /usr/bin/guile -e '(@@ (guild) main)' -s /usr/bin/guild compile -o > /home/bhardwajs/ac/devel/build_gnucash/lib/gnucash/scm/ccach > e/2.0/gnucash/report/invoice.go > /home/bhardwajs/ac/devel/gnucash/gnucash/report/business- > reports/invoice.scm > Backtrace: > In system/base/target.scm: > 59: 19 [with-target "x86_64-redhat-linux-gnu" ...] > In system/base/compile.scm: > 152: 18 [compile-file > "/home/bhardwajs/ac/devel/gnucash/gnucash/report/business- > reports/invoice.scm" > ...] > 43: 17 [call-once #<procedure 5642349adc40 at > system/base/compile.scm:56:5 ()>] > In ice-9/boot-9.scm: > 174: 16 [with-throw-handler #t ...] > In system/base/compile.scm: > 59: 15 [#<procedure 5642349adc00 at system/base/compile.scm:58:9 ()>] > 155: 14 [#<procedure 5642349adc80 at system/base/compile.scm:153:8 (port)> > #<closed: file 0>] > 218: 13 [read-and-compile #<input: invoice.scm 10> #:from ...] > 234: 12 [lp (# # # # ...) #<directory # 564234c77a00> #<directory # > 564234c77a00>] > 182: 11 [lp (#<procedure compile-tree-il (x e opts)>) (use-modules #) ...] > In ice-9/boot-9.scm: > 2412: 10 [save-module-excursion #<procedure 564234d86900 at > language/scheme/compile-tree-il.scm:29:3 ()>] > In language/scheme/compile-tree-il.scm: > 31: 9 [#<procedure 564234d86900 at > language/scheme/compile-tree-il.scm:29:3 ()>] > In ice-9/psyntax.scm: > 1107: 8 [expand-top-sequence ((use-modules #)) () ((top)) ...] > 990: 7 [scan ((use-modules (gnucash report standard-reports))) () ...] > 279: 6 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...] > In ice-9/boot-9.scm: > 3622: 5 [process-use-modules (((gnucash report standard-reports)))] > 712: 4 [map #<procedure 56423473aa80 at ice-9/boot-9.scm:3622:25 > (mif-args)> ((#))] > 3623: 3 [#<procedure 56423473aa80 at ice-9/boot-9.scm:3622:25 (mif-args)> > (#)] > 2903: 2 [resolve-interface (gnucash report standard-reports) #:select ...] > In unknown file: > ?: 1 [scm-error misc-error #f ...] > In ice-9/boot-9.scm: > 109: 0 [#<procedure 5642349adbc0 at ice-9/boot-9.scm:100:6 (thrown-k . > args)> misc-error ...] > > ice-9/boot-9.scm:109:20: In procedure #<procedure 5642349adbc0 at > ice-9/boot-9.scm:100:6 (thrown-k . args)>: > ice-9/boot-9.scm:109:20: no code for module (gnucash report > standard-reports) > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > > Hi Simit, > > There are scheme dependency issues with CMake when you do 'ninja check' > without first running plain 'ninja' first. So as a workaround until I can > fix, do 'ninja && ninja check && ninja install'. > > Regards, > > Rob > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel