Re: [GNC-dev] Build fail on Linux Mint 19.2

2019-09-10 Thread David Cousens
Geert,

gnucash-3.7 is the top levl directory (extracted from the traball) and it
has gnucash, libgnucash bindings etc. in it as well as the build directory
which is why the ../gnucash to get to the source directory from the build
directory.  I have been using that configuration for building v3.0,
3.1,3.2,3.3,3.4, 3.5and 3.6 without any problem. 

 
$cmake _DCMAKE_INSTALL_PREFIX=$HOME/.local -DWITH_PYTHON=yes ..

worked OK .  My bad.

Thanks 

David





-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Build fail on Linux Mint 19.2

2019-09-10 Thread David Cousens
Hi John,

Changing to CMAKE_INSTALL_PREFIX=$HOME/.local didn't change anything - same
errors. I have been installing to /usr/local using cmake since it was
introduced without any problems since it was introduced as the build
configure system. 

I have both the libgtk2 and libgtk-3 packages and development headers
installed (gtk2 for other software) ii  libgtk-3-0:amd64

3.22.30-1ubuntu4   amd64GTK+ graphical
user interface library
ii  libgtk-3-bin
3.22.30-1ubuntu4   amd64programs for the
GTK+ graphical user interface library
ii  libgtk-3-common 
3.22.30-1ubuntu4   all  common files for
the GTK+ graphical user interface library
ii  libgtk-3-dev:amd64  
3.22.30-1ubuntu4   amd64development
files for the GTK+ library

Is the SWIG patch for building on Windows useful in Linux Mint?

David




-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.html
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Build fail on Linux Mint 19.2

2019-09-10 Thread Geert Janssens
Op maandag 9 september 2019 23:57:53 CEST schreef David Cousens:
> Hi John,
> 
> I am getting a cmake configuration fail while trying to build v3.7 from the
> tarball on Linux Mint 19.2. I have cmake  3.13.4 installed. I've listed the
> glib swig and guile  and gdk packages installed after the cmake output below
> and attached the cmake output log and error log from the build directory.
> 
> The cmake error log seems to indicate a problem finding .  As far
> as I can see the dependencies are OK.
> $ locate gdk.h
> /usr/include/gtk-2.0/gdk/gdk.h
> /usr/include/gtk-3.0/gdk/gdk.h
> 
> It may be a Linux Mint 19.2 related as I get the same errors building v3.6
> again from scratch. I can't remember having to rebuild it when I upgraded
> from Mint 19.1 to 19.2 a few weeks ago.
> 
> David
> 
> david@Mintie:~/Applications/gnucash-3.7$ mkdir build
> david@Mintie:~/Applications/gnucash-3.7$ cd build
> david@Mintie:~/Applications/gnucash-3.7/build$ cmake
> -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=yes ../gnucash

What is the exact location of your source directory ? I suspect you are trying 
to run cmake on the gnucash subdirectory instead of the root of your source 
directory.

Or a bit more explicitly - is
~/Applications/gnucash-3.7 the directory containing these subdirectories:
bindings
borrowed
gnucash
libgnucash
and so on

Or are these subdirectories in
~/Applications/gnucash-3.7/gnucash ?

Your cmake invocation is for the latter setup. However the errors you get 
suggest it should instead probably be
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=yes ..

Regards,

Geert


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Build fail on Linux Mint 19.2

2019-09-09 Thread John Ralls



> On Sep 9, 2019, at 2:57 PM, David Cousens  wrote:
> 
> Hi John,
> 
> I am getting a cmake configuration fail while trying to build v3.7 from the
> tarball on Linux Mint 19.2. I have cmake  3.13.4 installed. I've listed the
> glib swig and guile  and gdk packages installed after the cmake output below
> and attached the cmake output log and error log from the build directory.  
> 
> The cmake error log seems to indicate a problem finding .  As far
> as I can see the dependencies are OK.  
> $ locate gdk.h
> /usr/include/gtk-2.0/gdk/gdk.h
> /usr/include/gtk-3.0/gdk/gdk.h
> 
> It may be a Linux Mint 19.2 related as I get the same errors building v3.6
> again from scratch. I can't remember having to rebuild it when I upgraded
> from Mint 19.1 to 19.2 a few weeks ago.
> 
> David
> 
> david@Mintie:~/Applications/gnucash-3.7$ mkdir build
> david@Mintie:~/Applications/gnucash-3.7$ cd build
> david@Mintie:~/Applications/gnucash-3.7/build$ cmake
> -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=yes ../gnucash
> -- The C compiler identification is GNU 7.4.0
> -- The CXX compiler identification is GNU 7.4.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> 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.13)
> 
>  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 CMP".
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> -- Configuring incomplete, errors occurred!
> See also
> "/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeOutput.log".
> See also
> "/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeError.log".
> david@Mintie:~/Applications/gnucash-3.7/build$ 
> 
> the glib packages installed are:
> 
> david@Mintie:~$ apt-cache search glib-2.0
> gir1.2-glib-2.0 - Introspection data for GLib, GObject, Gio and GModule
> gir1.2-spiceclientglib-2.0 - GObject for communicating with Spice servers
> (GObject-Introspection)
> libqt5glib-2.0-0 - C++ bindings library for GLib and GObject with a Qt-style
> API - Qt 5 build
> libspice-client-glib-2.0-8 - GObject for communicating with Spice servers
> (runtime library)
> libspice-client-glib-2.0-dev - GObject for communicating with Spice servers
> (development files)
> david@Mintie:~$ dpkg -l | grep libglib
> ii  libglib-object-introspection-perl0.044-2  
>  
> amd64Perl bindings for gobject-introspection libraries
> ii  libglib-perl
> 3:1.326-1build1amd64interface to the
> GLib and GObject libraries
> ii  libglib2.0-0:amd64  
> 2.56.4-0ubuntu0.18.04.4amd64GLib library of
> C routines
> ii  libglib2.0-bin  
> 2.56.4-0ubuntu0.18.04.4amd64Programs for the
> GLib library
> ii  libglib2.0-cil  
> 2.12.40-2  amd64CLI binding for
> the GLib utility library 2.12
> ii  libglib2.0-cil-dev  
> 2.12.40-2  amd64CLI binding for
> the GLib utility library 2.12
> ii  libglib2.0-data 
> 2.56.4-0ubuntu0.18.04.4all  Common files for
> GLib library
> ii  libglib2.0-dev:amd64
> 2.56.4-0ubuntu0.18.04.4amd64Development
> files for the GLib library
> ii  libglib2.0-dev-bin  
> 2.56.4-0ubuntu0.18.04.4amd64Development
> utilities for the GLib library
> ii  libglib2.0-doc  
> 2.56.4-0ubuntu0.18.04.4all  Documentation
> files for the GLib

[GNC-dev] Build fail on Linux Mint 19.2

2019-09-09 Thread David Cousens
Hi John,

I am getting a cmake configuration fail while trying to build v3.7 from the
tarball on Linux Mint 19.2. I have cmake  3.13.4 installed. I've listed the
glib swig and guile  and gdk packages installed after the cmake output below
and attached the cmake output log and error log from the build directory.  

The cmake error log seems to indicate a problem finding .  As far
as I can see the dependencies are OK.  
$ locate gdk.h
/usr/include/gtk-2.0/gdk/gdk.h
/usr/include/gtk-3.0/gdk/gdk.h

It may be a Linux Mint 19.2 related as I get the same errors building v3.6
again from scratch. I can't remember having to rebuild it when I upgraded
from Mint 19.1 to 19.2 a few weeks ago.

David

david@Mintie:~/Applications/gnucash-3.7$ mkdir build
david@Mintie:~/Applications/gnucash-3.7$ cd build
david@Mintie:~/Applications/gnucash-3.7/build$ cmake
-DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=yes ../gnucash
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
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.13)

  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 CMP".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also
"/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeOutput.log".
See also
"/home/david/Applications/gnucash-3.7/build/CMakeFiles/CMakeError.log".
david@Mintie:~/Applications/gnucash-3.7/build$ 

the glib packages installed are:

david@Mintie:~$ apt-cache search glib-2.0
gir1.2-glib-2.0 - Introspection data for GLib, GObject, Gio and GModule
gir1.2-spiceclientglib-2.0 - GObject for communicating with Spice servers
(GObject-Introspection)
libqt5glib-2.0-0 - C++ bindings library for GLib and GObject with a Qt-style
API - Qt 5 build
libspice-client-glib-2.0-8 - GObject for communicating with Spice servers
(runtime library)
libspice-client-glib-2.0-dev - GObject for communicating with Spice servers
(development files)
david@Mintie:~$ dpkg -l | grep libglib
ii  libglib-object-introspection-perl0.044-2
   
amd64Perl bindings for gobject-introspection libraries
ii  libglib-perl
3:1.326-1build1amd64interface to the
GLib and GObject libraries
ii  libglib2.0-0:amd64  
2.56.4-0ubuntu0.18.04.4amd64GLib library of
C routines
ii  libglib2.0-bin  
2.56.4-0ubuntu0.18.04.4amd64Programs for the
GLib library
ii  libglib2.0-cil  
2.12.40-2  amd64CLI binding for
the GLib utility library 2.12
ii  libglib2.0-cil-dev  
2.12.40-2  amd64CLI binding for
the GLib utility library 2.12
ii  libglib2.0-data 
2.56.4-0ubuntu0.18.04.4all  Common files for
GLib library
ii  libglib2.0-dev:amd64
2.56.4-0ubuntu0.18.04.4amd64Development
files for the GLib library
ii  libglib2.0-dev-bin  
2.56.4-0ubuntu0.18.04.4amd64Development
utilities for the GLib library
ii  libglib2.0-doc  
2.56.4-0ubuntu0.18.04.4all  Documentation
files for the GLib library
ii  libglib2.0-tests
2.56.4-0ubuntu0.18.04.4amd64GLib library of
C routines - installed tests
ii  libglib3.0-cil  
2.99.3-2