Hi,
I've tried to build GTK3 64-bit stack using gtk-osx, but got some issues in the process. I am using High Sierra 10.13.4, Xcode 9.3.
Added this to .jhbuildrc-custom: setup_sdk(target="10.8")
My build process: 1) ./gtk-osx-build-setup.sh
2) jhbuild bootstrap (...issue with cmake, see below ...)
3) jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-gtk3 meta-gtk-osx-themes gtksourceview3 (... many issues here, see below ...)
Step #1 worked OK. Step #2 had the following issue with building cmake (I chose to ignore this module):
Error when bootstrapping CMake:
Cannot find a C++ compiler supporting C++11 on this system.
Please specify one using environment variable CXX. See cmake_bootstrap.log for compilers attempted. --------------------------------------------- Log of errors: /Users/miro/gtk/source/cmake-3.10.0/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- *** Error during phase configure of cmake: ########## Error running ./bootstrap --prefix=/Users/miro/gtk/inst *** [8/24] ...
*** module meta-bootstrap not built due to non buildable cmake *** [24/24]
cmake meta-bootstrap*** the following modules were not built *** [24/24] Step #3 had the following issues, I chose to ignore modules in order to collect all the issues at one place:
GEN pt_BR/
/Users/miro/gtk/inst/bin/bash: line 1: 28115 Segmentation fault: 11 itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/fdl-appendix.xml make[2]: *** [fr/fr.stamp] Error 139 make[2]: *** Waiting for unfinished jobs.... /Users/miro/gtk/inst/bin/bash: line 1: 28130 Segmentation fault: 11 itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/fdl-appendix.xml make[2]: *** [pt_BR/pt_BR.stamp] Error 139 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 *** Error during phase build of gtk-doc: ########## Error running make -j 5 *** [12/43] I've tried to reduce the job done by gtk-doc build process by adding this, but it did not help:
append_autogenargs("gtk-doc", "--without-xml --without-yelp-tools")
...
CC alphamap.o
Other issues are a consequence of these previous ones (described above):utils-prng.c:207:27: error: use of unknown builtin '__builtin_shuffle' [-Wimplicit-function-declaration] randdata.vb = __builtin_shuffle (randdata.vb, bswap_shufflemask); ^ utils-prng.c:207:25: error: assigning to 'uint8x16' (vector of 16 'uint8_t' values) from incompatible type 'int' randdata.vb = __builtin_shuffle (randdata.vb, bswap_shufflemask); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[2]: *** [utils-prng.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 *** Error during phase build of pixman: ########## Error running make -j 5 *** [16/43] checking GLib Version... checking for gtk-doc... no
configure: WARNING: You will not be able to create source packages with 'make dist' because gtk-doc >= 1.11 is not found. checking for gtkdoc-check... no checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes checking for GTK3... no configure: WARNING: GTK+-3.0 not found checking for GTK2... no configure: WARNING: GTK+-2.0 not found configure: error: Neither GTK+-2.0 nor GTK+-3.0 was found *** Error during phase configure of gtk-mac-integration: ########## Error running ./configure --prefix /Users/miro/gtk/inst --disable-python *** [32/43] checking for LIBRSVG... no
configure: error: Package requirements ( gdk-pixbuf-2.0 >= 2.20 glib-2.0 >= 2.12.0 gio-2.0 >= 2.24.0 libxml-2.0 >= 2.7.0 pangocairo >= 1.32.6 cairo >= 1.2.0 cairo-png >= 1.2.0 libcroco-0.6 >= 0.6.1) were not met: No package 'pangocairo' found No package 'cairo' found No package 'cairo-png' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBRSVG_CFLAGS and LIBRSVG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. *** Error during phase configure of librsvg: ########## Error running ./configure --prefix /Users/miro/gtk/inst --disable-Bsymbolic *** [35/43] ... configure: error: GTK+-2.12 is required to compile gtk-engines *** Error during phase configure of gtk-engines: ########## Error running ./configure --prefix /Users/miro/gtk/inst *** [41/43] ... No package 'gtk+-3.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables DEP_CFLAGS and DEP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. *** Error during phase configure of gtksourceview3: ########## Error running ./configure --prefix /Users/miro/gtk/inst *** [43/43] *** the following modules were not built *** [43/43] gtk-doc meta-gtk-osx-bootstrap pixman cairo gobject-introspection pango gtk+-3.0 gtk-mac-integration librsvg adwaita-icon-theme gnome-themes-standard meta-gtk-osx-gtk3-core-themes meta-gtk-osx-gtk3 gtk-engines meta-gtk-osx-themes gtksourceview3 Note that I got the same issues with gtk-doc when adding "python" into the step #3.
Any tips to resolve these issues?
Regards,
Miroslav
|