[GNC] compiling 3.2 on linux (ubuntu)
John Ralls
jralls at ceridwen.us
Sun Sep 30 10:09:27 EDT 2018
> On Sep 29, 2018, at 10:52 PM, Jeff Abrahamson <jeff at p27.eu> wrote:
>
> 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?
cmake ..
*not* cmake ../gnucash
Regards,
John Ralls
More information about the gnucash-user
mailing list