Gnucash 2.7.5 Installation
Roger Miskowicz
rmisko11 at gmail.com
Sat Mar 3 10:04:41 EST 2018
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 <jralls at ceridwen.us> wrote:
>
>
> > On Mar 3, 2018, at 2:51 AM, Roger Miskowicz <rmisko11 at 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/
> gdkapplaunchcontext.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/
> gnucash-2.7.5/gnucash/gnucash/gnome-utils/account-quickfill.h:43,
> > from /home/roger/Projects/Gnucash/
> gnucash-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
>
>
More information about the gnucash-user
mailing list