Not sure if I should have started another thread? Anyway, I am trying to install git clone on a second computer with the same operating system (Ubuntu 16.04.4 LTS) as one where the installation worked.
I checked the dependencies: sudo apt-get install intltool sudo apt-get install autoconf automake autotools-dev libsigsegv2 m4 sudo apt-get install libtool libltdl-dev sudo apt-get install libglib2.0-dev sudo apt-get install icu-devtools libicu-dev sudo apt-get install libboost-all-dev sudo apt-get install guile-2.0 guile-2.0-dev sudo apt-get install swig2.0 sudo apt-get install libxml++2.6-dev sudo apt-get install libxslt1-dev sudo apt-get install xsltproc sudo apt-get install libgtest-dev sudo apt-get install google-mock sudo apt-get install gtk+3.0 sudo apt-get install libgtk-3-dev sudo apt-get install libwebkit2gtk-4.0-37 sudo apt-get install libwebkit2gtk-4.0-dev cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF ../gnucash finished with no errors However, during *make* I can't get it past: [ 28%] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go Backtrace: In srfi/srfi-1.scm: 619: 19 [for-each #<procedure 1553800 at scripts/compile.scm:179:14 (file)> #] In scripts/compile.scm: 182: 18 [#<procedure 1553800 at scripts/compile.scm:179:14 (file)> "/media/Projects/Gnucash/master/gnucash/libgnucash/core-utils/core-utils.scm"] In system/base/target.scm: 59: 17 [with-target "x86_64-pc-linux-gnu" ...] In system/base/compile.scm: 150: 16 [compile-file "/media/Projects/Gnucash/master/gnucash/libgnucash/core-utils/core-utils.scm" ...] 43: 15 [call-once #<procedure 160aa40 at system/base/compile.scm:56:5 ()>] In ice-9/boot-9.scm: 171: 14 [with-throw-handler #t ...] In system/base/compile.scm: 59: 13 [#<procedure 160aa00 at system/base/compile.scm:58:9 ()>] 153: 12 [#<procedure 160aa80 at system/base/compile.scm:151:8 (port)> #<closed: file 0>] 216: 11 [read-and-compile #<input: core-utils.scm 5> #:from ...] 232: 10 [lp (# # # # ...) #<directory # 17bb480> #<directory # 17bb480>] 180: 9 [lp # # # ...] In ice-9/boot-9.scm: 2401: 8 [save-module-excursion #<procedure 18e2c90 at language/scheme/compile-tree-il.scm:29:3 ()>] In language/scheme/compile-tree-il.scm: 31: 7 [#<procedure 18e2c90 at language/scheme/compile-tree-il.scm:29:3 ()>] In ice-9/psyntax.scm: 1106: 6 [expand-top-sequence ((re-export gnc-build-userdata-path)) () ...] 989: 5 [scan ((re-export gnc-build-userdata-path)) () ...] 279: 4 [scan ((# #)) () (()) ...] In ice-9/boot-9.scm: 2094: 3 [call-with-deferred-observers #<procedure 18e23f0 at ice-9/eval.scm:416:20 ()>] 768: 2 [for-each #<procedure 18e23c0 at ice-9/boot-9.scm:3725:14 (name)> #] In unknown file: ?: 1 [scm-error misc-error #f ...] In ice-9/boot-9.scm: 106: 0 [#<procedure 160a9c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...] ice-9/boot-9.scm:106:20: In procedure #<procedure 160a9c0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>: ice-9/boot-9.scm:106:20: *Undefined variable: gnc-build-userdata-path ############ May this is the main symptom ... How can I fix it?* libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/build.make:61: recipe for target 'lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go' failed make[2]: *** [lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go] Error 1 CMakeFiles/Makefile2:3937: recipe for target 'libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all' failed make[1]: *** [libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 Regards, Roger On Sat, Mar 3, 2018 at 10:04 AM, Roger Miskowicz <rmisk...@gmail.com> wrote: > Thanks John, I thought I had. Sorry for the inconvenience. > > Working great now, > Roger > > On Sat, Mar 3, 2018 at 9:35 AM, John Ralls <jra...@ceridwen.us> wrote: > >> >> >> > On Mar 3, 2018, at 2:51 AM, Roger Miskowicz <rmisk...@gmail.com> wrote: >> > >> > Thanks John, I looked at that line several times and didn't notice the >> '/'. >> > >> > Now using: >> > >> > cmake .. >> > >> > the output seems fine except for: >> > >> > -- Performing Test have_mod_mask - Failed >> > >> > Even so, I tried 'make' with the following failure: >> > >> > [ 48%] Building C object gnucash/gnome-utils/CMakeFiles >> /gncmod-gnome-utils.dir/account-quickfill.c.o >> > <command-line>:0:38: error: redeclaration of enumerator ‘GDK_SHIFT_MASK’ >> > /usr/include/gtk-3.0/gdk/gdktypes.h:318:3: note: in expansion of macro >> ‘GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK’ >> > GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK, >> > ^ >> > In file included from /usr/include/gtk-3.0/gdk/gdkap >> plaunchcontext.h:30:0, >> > from /usr/include/gtk-3.0/gdk/gdk.h:32, >> > from /usr/include/gtk-3.0/gtk/gtk.h:30, >> > from /home/roger/Projects/Gnucash/g >> nucash-2.7.5/gnucash/gnucash/gnome-utils/account-quickfill.h:43, >> > from /home/roger/Projects/Gnucash/g >> nucash-2.7.5/gnucash/gnucash/gnome-utils/account-quickfill.c:25: >> > /usr/include/gtk-3.0/gdk/gdktypes.h:233:3: note: previous definition >> of ‘GDK_SHIFT_MASK’ was here >> > GDK_SHIFT_MASK = 1 << 0, >> > ^ >> > <command-line>:0:52: error: expected ‘,’ or ‘}’ before ‘|’ token >> > /usr/include/gtk-3.0/gdk/gdktypes.h:318:3: note: in expansion of macro >> ‘GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK’ >> > GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK, >> > ^ >> > gnucash/gnome-utils/CMakeFiles/gncmod-gnome-utils.dir/build.make:77: >> recipe for target >> 'gnucash/gnome-utils/CMakeFiles/gncmod-gnome-utils.dir/account-quickfill.c.o' >> failed >> > make[2]: *** >> > [gnucash/gnome-utils/CMakeFiles/gncmod-gnome-utils.dir/account-quickfill.c.o] >> Error 1 >> > CMakeFiles/Makefile2:8265: recipe for target >> 'gnucash/gnome-utils/CMakeFiles/gncmod-gnome-utils.dir/all' failed >> > make[1]: *** [gnucash/gnome-utils/CMakeFiles/gncmod-gnome-utils.dir/all] >> Error 2 >> > Makefile:160: recipe for target 'all' failed >> > make: *** [all] Error 2 >> > >> > I am guessing I need to fix: >> > >> > -- Performing Test have_mod_mask - Failed >> > >> > but have no idea how. >> > >> > I have checked that all the following are installed, note I am not sure >> it is important but I have swig3.0: >> > >> > sudo apt-get install intltool >> > sudo apt-get install autoconf automake autotools-dev libsigsegv2 m4 >> > sudo apt-get install libtool libltdl-dev >> > sudo apt-get install libglib2.0-dev >> > sudo apt-get install icu-devtools libicu-dev >> > sudo apt-get install libboost-all-dev >> > sudo apt-get install guile-2.0 guile-2.0-dev >> > sudo apt-get install swig2.0 *** here I have >> swig3.0 *** >> > sudo apt-get install libxml++2.6-dev >> > sudo apt-get install libxslt1-dev >> > sudo apt-get install xsltproc >> > sudo apt-get install libgtest-dev >> > sudo apt-get install google-mock >> > sudo apt-get install gtk+3.0 >> > sudo apt-get install libgtk-3-dev >> > sudo apt-get install libwebkit2gtk-4.0-37 >> > sudo apt-get install libwebkit2gtk-4.0-dev >> > >> > Again, I would appreciate your support, >> >> Yes, you’re right about the have_mod_mask test. You reported in your >> first email that you’d changed the include line in the code for that >> test--it’s at the top of <srcdir>/gnucash/CMakeLists.txt. I told you to >> put it back, but if you didn’t that’s likely the problem. >> >> If you did then the build of that snippet is failing for some other >> reason. The output from all of the tests is in >> <builddir>/CMakeFiles/CMakeOutput.log. Look there for the compile error >> that caused the test to fail. >> >> Regards, >> John Ralls >> >> > _______________________________________________ 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.