Build on Mac OS

John Ralls jralls at ceridwen.us
Sat Jan 27 21:08:46 EST 2018



> On Jan 27, 2018, at 5:50 PM, R. Victor Klassen <rvklassen at gmail.com> wrote:
> 
> It went much further this time.
> 
> And then:
> 
> libtool: compile:  /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src/import-export -I../../../src/gnome -I../../../src/register/ledger-core -I../../../src/register/register-gnome -I../../../src/register/register-core -I../../../src/gnome-utils -I../../../src/app-utils -I../../../src/engine -I../../../src/core-utils -I../../../src/gnc-module -I../../../src/libqof/qof -D_REENTRANT -I/Users/gnucashdev/gnucash-stable/include/gtk-2.0 -I/Users/gnucashdev/gnucash-stable/lib/gtk-2.0/include -I/Users/gnucashdev/gnucash-stable/include/pango-1.0 -I/Users/gnucashdev/gnucash-stable/include/harfbuzz -I/Users/gnucashdev/gnucash-stable/include/pango-1.0 -I/Users/gnucashdev/gnucash-stable/include/atk-1.0 -I/Users/gnucashdev/gnucash-stable/include/cairo -I/Users/gnucashdev/gnucash-stable/include/pixman-1 -I/Users/gnucashdev/gnucash-stable/include/freetype2 -I/Users/gnucashdev/gnucash-stable/include/libpng16 -I/Users/gnucashdev/gnucash-stable/include/freetype2 -I/Users/gnucashdev/gnucash-stable/include/libpng16 -I/Users/gnucashdev/gnucash-stable/include/gdk-pixbuf-2.0 -I/Users/gnucashdev/gnucash-stable/include/libpng16 -I/Users/gnucashdev/gnucash-stable/include/glib-2.0 -I/Users/gnucashdev/gnucash-stable/lib/glib-2.0/include -D_REENTRANT -I/Users/gnucashdev/gnucash-stable/include/glib-2.0 -I/Users/gnucashdev/gnucash-stable/lib/glib-2.0/include -I/Users/gnucashdev/gnucash-stable/include/aqbanking5 -I/Users/gnucashdev/gnucash-stable/include/gwenhywfar4 -DG_LOG_DOMAIN=\"gnc.import.aqbanking\" -I/Users/gnucashdev/gnucash-stable/include -arch x86_64 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -arch x86_64 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.13 -std=gnu99 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT gncmod-aqbanking.lo -MD -MP -MF .deps/gncmod-aqbanking.Tpo -c gncmod-aqbanking.c  -fno-common -DPIC -o .libs/gncmod-aqbanking.o
> gnc-gwen-gui.c:64:11: fatal error: 'gwen-gui-gtk2/gtk2_gui.h' file not found
> # include <gwen-gui-gtk2/gtk2_gui.h>
>          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> make[5]: *** [gnc-gwen-gui.lo] Error 1
> make[5]: *** Waiting for unfinished jobs....
> mv -f .deps/gnc-plugin-aqbanking.Tpo .deps/gnc-plugin-aqbanking.Plo
> mv -f .deps/gncmod-aqbanking.Tpo .deps/gncmod-aqbanking.Plo
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> *** Error during phase build of gnucash: ########## Error running make -j 5  *** [71/72]


Why are you building stable?

I modified the arguments passed to gwen for unstable/master. You can, while in a jhbuild shell, cd to the gwen directory and reconfigure it with --with-guis='gtk2' if you want to build stable, but ISTM it would make more sense for you to build unstable or master.

Regards,
John Ralls



More information about the gnucash-devel mailing list