[GNC] compiling 3.2 on linux (ubuntu)

Jeff Abrahamson jeff at p27.eu
Sun Sep 30 01:52:43 EDT 2018


I downloaded 3.2.tar.bz.  After unbzipping, I do this (ubuntu 18.04.1):

    $ mkdir -p gnucash-3.2/build-3.2
    $ cd gnucash-3.2/build-3.2
    $ cmake ../gnucash/
    CMake Error at CMakeLists.txt:5 (file):
      file problem creating directory: /glib-2.0/schemas


    -- Performing Test have_mod_mask
    -- Performing Test have_mod_mask - Failed
    CMake Error at gnome/CMakeLists.txt:59 (gnc_add_swig_guile_command):
      Unknown CMake command "gnc_add_swig_guile_command".


    CMake Warning (dev) in CMakeLists.txt:
      No cmake_minimum_required command is present.  A line of code such as

        cmake_minimum_required(VERSION 3.10)

      should be added at the top of the file.  The version specified may
    be lower
      if you wish to support older CMake versions for this project.  For
    more
      information run "cmake --help-policy CMP0000".
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Configuring incomplete, errors occurred!
    See also
    "/home/jeff/.../gnucash/gnucash-3.2/build-3.2/CMakeFiles/CMakeOutput.log".
    See also
    "/home/jeff/.../gnucash/gnucash-3.2/build-3.2/CMakeFiles/CMakeError.log".
    $

CMakeError.log suggests the real problem is not finding gdk/gdk.h.  This
is provided from two packages, libgtk-3-dev and libgtk2.0-dev.  But
installing those doesn't change the error.  (I manually confirm gdk.h is
present: /usr/include/gtk-2.0/gdk/gdk.h.)

Thinking this was a caching problem, I removed and recreated
./build-3.2/.  Same problem.

Any pointers?

-- 

Jeff Abrahamson
+33 6 24 40 01 57
+44 7920 594 255

http://p27.eu/jeff/
http://transport-nantes.com/



More information about the gnucash-user mailing list