Re: Gnucash 3.0 Build error

2018-04-05 Thread John Ralls


> On Apr 4, 2018, at 10:34 PM, DaveC49  wrote:
> 
> After following the build instructions 
> https://wiki.gnucash.org/wiki/Building#Ubuntu
>   
> I have checked glib-2.0 and libglib2.0 are installed
> 
> I received the following errors when building using cmake (v 3.5.1) on Linux
> MInt 18.3 :
> 
> /$ cmake -D CMAKE_INSTALL_PREFIX=/usr/local/bin/gnucash-cmake -D
> WITH_AQBANKING=OFF -D WITH_OFX=ON ../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.5)
> 
>  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.0/build-cmake/CMakeFiles/CMakeOutput.log".
> See also
> "/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeError.log"./
> 
> Any ideas?

Rob Gowin saw your mistake and pointed it out in gnucash-devel, a better place 
to discuss build problems:

The error is "cmake  ../gnucash". You want just "cmake  .." 
to get the root CMakeLists.txt instead of the CMakeLists.txt in the "gnucash" 
subdirectory.

He recommends creating your build directory completely outside of the source 
tree as a way to avoid making this mistake.

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.


Re: Gnucash 3.0 Build error

2018-04-05 Thread Eric Siegerman
On Wed, Apr 04, 2018 at 10:56:01PM -0700, DaveC49 wrote:
> fatal error: gdk/gdk.h: No such file or directory

This looks like the problem.  Maybe you don't have the relevant
package installed.  On my Ubuntu 16.04 system, I think that's
"libgtk-3-dev".

  - Eric
___
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.


Re: Gnucash 3.0 Build error

2018-04-04 Thread DaveC49
The CMake error log for the above is

/$ cat
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeError.log
Performing C SOURCE FILE Test have_mod_mask failed with the following
output:
Change Dir:
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_549d5/fast"
/usr/bin/make -f CMakeFiles/cmTC_549d5.dir/build.make
CMakeFiles/cmTC_549d5.dir/build
make[1]: Entering directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_549d5.dir/src.c.o
/usr/bin/cc-Dhave_mod_mask   -o CMakeFiles/cmTC_549d5.dir/src.c.o   -c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c:2:21:
fatal error: gdk/gdk.h: No such file or directory
compilation terminated.
CMakeFiles/cmTC_549d5.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_549d5.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_549d5.dir/src.c.o] Error 1
make[1]: Leaving directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_549d5/fast' failed
make: *** [cmTC_549d5/fast] Error 2

Source file was:

#include 

int main (int argc, char** argv) {
  GdkModifierIntent foo = GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK;
  return 0;
}

Performing C SOURCE FILE Test have_mod_mask failed with the following
output:
Change Dir:
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a95b6/fast"
/usr/bin/make -f CMakeFiles/cmTC_a95b6.dir/build.make
CMakeFiles/cmTC_a95b6.dir/build
make[1]: Entering directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a95b6.dir/src.c.o
/usr/bin/cc-Dhave_mod_mask   -o CMakeFiles/cmTC_a95b6.dir/src.c.o   -c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c:2:21:
fatal error: gdk/gdk.h: No such file or directory
compilation terminated.
CMakeFiles/cmTC_a95b6.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_a95b6.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_a95b6.dir/src.c.o] Error 1
make[1]: Leaving directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a95b6/fast' failed
make: *** [cmTC_a95b6/fast] Error 2

Source file was:

#include 

int main (int argc, char** argv) {
  GdkModifierIntent foo = GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK;
  return 0;
}

Performing C SOURCE FILE Test have_mod_mask failed with the following
output:
Change Dir:
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_27cdf/fast"
/usr/bin/make -f CMakeFiles/cmTC_27cdf.dir/build.make
CMakeFiles/cmTC_27cdf.dir/build
make[1]: Entering directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_27cdf.dir/src.c.o
/usr/bin/cc-Dhave_mod_mask   -o CMakeFiles/cmTC_27cdf.dir/src.c.o   -c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c:2:21:
fatal error: gdk/gdk.h: No such file or directory
compilation terminated.
CMakeFiles/cmTC_27cdf.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_27cdf.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_27cdf.dir/src.c.o] Error 1
make[1]: Leaving directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_27cdf/fast' failed
make: *** [cmTC_27cdf/fast] Error 2

Source file was:

#include 

int main (int argc, char** argv) {
  GdkModifierIntent foo = GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK;
  return 0;
}
/



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
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.


Re: Gnucash 3.0 Build error

2018-04-04 Thread DaveC49
*$ cat
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeError.log*
Performing C SOURCE FILE Test have_mod_mask failed with the following
output:
Change Dir:
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_549d5/fast"
/usr/bin/make -f CMakeFiles/cmTC_549d5.dir/build.make
CMakeFiles/cmTC_549d5.dir/build
make[1]: Entering directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_549d5.dir/src.c.o
/usr/bin/cc-Dhave_mod_mask   -o CMakeFiles/cmTC_549d5.dir/src.c.o   -c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c:2:21:
fatal error: gdk/gdk.h: No such file or directory
compilation terminated.
CMakeFiles/cmTC_549d5.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_549d5.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_549d5.dir/src.c.o] Error 1
make[1]: Leaving directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_549d5/fast' failed
make: *** [cmTC_549d5/fast] Error 2

Source file was:

#include 

int main (int argc, char** argv) {
  GdkModifierIntent foo = GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK;
  return 0;
}

Performing C SOURCE FILE Test have_mod_mask failed with the following
output:
Change Dir:
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a95b6/fast"
/usr/bin/make -f CMakeFiles/cmTC_a95b6.dir/build.make
CMakeFiles/cmTC_a95b6.dir/build
make[1]: Entering directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a95b6.dir/src.c.o
/usr/bin/cc-Dhave_mod_mask   -o CMakeFiles/cmTC_a95b6.dir/src.c.o   -c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c:2:21:
fatal error: gdk/gdk.h: No such file or directory
compilation terminated.
CMakeFiles/cmTC_a95b6.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_a95b6.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_a95b6.dir/src.c.o] Error 1
make[1]: Leaving directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a95b6/fast' failed
make: *** [cmTC_a95b6/fast] Error 2

Source file was:

#include 

int main (int argc, char** argv) {
  GdkModifierIntent foo = GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK;
  return 0;
}

Performing C SOURCE FILE Test have_mod_mask failed with the following
output:
Change Dir:
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_27cdf/fast"
/usr/bin/make -f CMakeFiles/cmTC_27cdf.dir/build.make
CMakeFiles/cmTC_27cdf.dir/build
make[1]: Entering directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_27cdf.dir/src.c.o
/usr/bin/cc-Dhave_mod_mask   -o CMakeFiles/cmTC_27cdf.dir/src.c.o   -c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c
/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp/src.c:2:21:
fatal error: gdk/gdk.h: No such file or directory
compilation terminated.
CMakeFiles/cmTC_27cdf.dir/build.make:65: recipe for target
'CMakeFiles/cmTC_27cdf.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_27cdf.dir/src.c.o] Error 1
make[1]: Leaving directory
'/home/david/Applications/gnucash-3.0/build-cmake/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_27cdf/fast' failed
make: *** [cmTC_27cdf/fast] Error 2

Source file was:

#include 

int main (int argc, char** argv) {
  GdkModifierIntent foo = GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK;
  return 0;
}





-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
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.