[gtk-osx-users] Building GtkSourceview3 on OSX 10.9
I built a working python2 + gtk3 install on OSX 10.9, so that part works great. But I can't compile gtksourceview, and the error looks like its a bug in the source and not just a build issue. I noticed a related macports ticket http://trac.macports.org/ticket/41984. However, for the record, I don't have macports or any other third-party software distribution installed. $ ./.local/bin/jhbuild build gtksourceview3 *** Checking out gtksourceview3 *** [1/1] curl --continue-at - -L http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.6/gtksourceview-3.6.0.tar.xz -o /Users/vbraun/gtk/source/pkgs/gtksourceview-3.6.0.tar.xz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 1187k 100 1187k0 0 1294k 0 --:--:-- --:--:-- --:--:-- 1293k xzcat -d /Users/vbraun/gtk/source/pkgs/gtksourceview-3.6.0.tar.xz | tar xf - *** Configuring gtksourceview3 *** [1/1] gnome-autogen.sh --prefix /Users/vbraun/gtk/inst --libdir '/Users/vbraun/gtk/inst/lib' aclocal.m4:17: warning: this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. checking for autoconf = 2.53... testing autoconf2.50... not found. testing autoconf... found 2.69 checking for automake = 1.9... testing automake-1.12... found 1.12.6 using /Users/vbraun/gtk/inst/bin/libtoolize for libtool checking for gettext = 0.10.40... testing gettextize... found 0.18.1 checking for intltool = 0.25... testing intltoolize... found 0.50.2 checking for pkg-config = 0.14.0... testing pkg-config... found 0.25 checking for gtk-doc = 1.0... testing gtkdocize... found 1.18 Checking for required M4 macros... Checking for forbidden M4 macros... Processing ./configure.ac Running /Users/vbraun/gtk/inst/bin/libtoolize... libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' Running autopoint... Copying file m4/codeset.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/printf-posix.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin Running intltoolize... Running gtkdocize... Running aclocal-1.12... Running autoconf... Running autoheader... Running automake-1.12... configure.ac:118: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed. configure.ac:118: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:118: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. gtksourceview/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gtksourceview/completion-providers/words/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Running ./configure --enable-maintainer-mode --prefix /Users/vbraun/gtk/inst --libdir /Users/vbraun/gtk/inst/lib ... checking for a BSD-compatible install... /Users/vbraun/.local/bin/install-check checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... yes checking for gcc... /Applications/Xcode.app/Contents/Developer/usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes
Re: [gtk-osx-users] Building GtkSourceview3 on OSX 10.9
On Jan 25, 2014, at 5:35 AM, Volker Braun vbraun.n...@gmail.com wrote: I built a working python2 + gtk3 install on OSX 10.9, so that part works great. But I can't compile gtksourceview, and the error looks like its a bug in the source and not just a build issue. I noticed a related macports ticket http://trac.macports.org/ticket/41984. However, for the record, I don't have macports or any other third-party software distribution installed. $ ./.local/bin/jhbuild build gtksourceview3 *** Checking out gtksourceview3 *** [1/1] curl --continue-at - -L http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.6/gtksourceview-3.6.0.tar.xz [SNIP] ^ gtksourcecompletionitem.c:388:23: error: no member named 'label' in 'struct _GtkToolItem' label = stock_item.label; ~~ ^ gtksourceview-3.6 must be too old for gtk+-3.10. I just blind-pushed (meaning that I didn't test it) an update to gtksourceview-3.10.1. Give that a try. Regards, John Ralls ___ Gtk-osx-users-list mailing list Gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
Re: [gtk-osx-users] Building GtkSourceview3 on OSX 10.9
You're compiling a gtksourceview version that is too old for the gtk+ version that you have installed. Those warnings are related to deprecated and renamed API in gtk+. With that version of gtk+, you'll probably need gtksourceview 3.10.x to compile properly without warnings. 2014/1/25 Volker Braun vbraun.n...@gmail.com I built a working python2 + gtk3 install on OSX 10.9, so that part works great. But I can't compile gtksourceview, and the error looks like its a bug in the source and not just a build issue. I noticed a related macports ticket http://trac.macports.org/ticket/41984. However, for the record, I don't have macports or any other third-party software distribution installed. $ ./.local/bin/jhbuild build gtksourceview3 *** Checking out gtksourceview3 *** [1/1] curl --continue-at - -L http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.6/gtksourceview-3.6.0.tar.xz -o /Users/vbraun/gtk/source/pkgs/gtksourceview-3.6.0.tar.xz % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 1187k 100 1187k0 0 1294k 0 --:--:-- --:--:-- --:--:-- 1293k xzcat -d /Users/vbraun/gtk/source/pkgs/gtksourceview-3.6.0.tar.xz | tar xf - *** Configuring gtksourceview3 *** [1/1] gnome-autogen.sh --prefix /Users/vbraun/gtk/inst --libdir '/Users/vbraun/gtk/inst/lib' aclocal.m4:17: warning: this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. checking for autoconf = 2.53... testing autoconf2.50... not found. testing autoconf... found 2.69 checking for automake = 1.9... testing automake-1.12... found 1.12.6 using /Users/vbraun/gtk/inst/bin/libtoolize for libtool checking for gettext = 0.10.40... testing gettextize... found 0.18.1 checking for intltool = 0.25... testing intltoolize... found 0.50.2 checking for pkg-config = 0.14.0... testing pkg-config... found 0.25 checking for gtk-doc = 1.0... testing gtkdocize... found 1.18 Checking for required M4 macros... Checking for forbidden M4 macros... Processing ./configure.ac Running /Users/vbraun/gtk/inst/bin/libtoolize... libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' Running autopoint... Copying file m4/codeset.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/printf-posix.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin Running intltoolize... Running gtkdocize... Running aclocal-1.12... Running autoconf... Running autoheader... Running automake-1.12... configure.ac:118: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed. configure.ac:118: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:118: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. gtksourceview/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gtksourceview/completion-providers/words/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Running ./configure --enable-maintainer-mode --prefix /Users/vbraun/gtk/inst --libdir /Users/vbraun/gtk/inst/lib ... checking for a BSD-compatible install... /Users/vbraun/.local/bin/install-check checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions
Re: [gtk-osx-users] Building GtkSourceview3 on OSX 10.9
Thanks, works now! On Sat, Jan 25, 2014 at 4:10 PM, John Ralls jra...@ceridwen.us wrote: On Jan 25, 2014, at 5:35 AM, Volker Braun vbraun.n...@gmail.com wrote: I built a working python2 + gtk3 install on OSX 10.9, so that part works great. But I can't compile gtksourceview, and the error looks like its a bug in the source and not just a build issue. I noticed a related macports ticket http://trac.macports.org/ticket/41984. However, for the record, I don't have macports or any other third-party software distribution installed. $ ./.local/bin/jhbuild build gtksourceview3 *** Checking out gtksourceview3 *** [1/1] curl --continue-at - -L http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.6/gtksourceview-3.6.0.tar.xz [SNIP] ^ gtksourcecompletionitem.c:388:23: error: no member named 'label' in 'struct _GtkToolItem' label = stock_item.label; ~~ ^ gtksourceview-3.6 must be too old for gtk+-3.10. I just blind-pushed (meaning that I didn't test it) an update to gtksourceview-3.10.1. Give that a try. Regards, John Ralls ___ Gtk-osx-users-list mailing list Gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
[gtk-osx-users] Python3
There are various Python3 packages, but I can't see how to build gtk3 + python3. Is this possible at all? It starts to fail when building pycairo-python3: $ ./.local/bin/jhbuild build pycairo-python3 *** Checking out pixman *** [1/3] *** Skipping pixman (package and dependencies not updated) *** [1/3] *** Checking out cairo *** [2/3] *** Skipping cairo (package and dependencies not updated) *** [2/3] *** Checking out pycairo-python3 *** [3/3] *** Configuring pycairo-python3 *** [3/3] ./waf configure --prefix /Users/vbraun/gtk/inst ./options() Setting top to : /Users/vbraun/gtk/source/pycairo-1.10.0 Setting out to : /Users/vbraun/gtk/source/pycairo-1.10.0/build_directory ./configure() Checking for 'gcc' (c compiler) : ok Checking for program python : python python executable 'python' different from sys.executable '/Users/vbraun/gtk/inst/bin/python' Checking for python version : (2, 7, 3, 'final', 0) The python version is too old, expecting (3, 1, 0) (complete log in /Users/vbraun/gtk/source/pycairo-1.10.0/build_directory/config.log) *** Error during phase configure of pycairo-python3: ## Error running ./waf configure --prefix /Users/vbraun/gtk/inst *** [3/3] [1] Rerun phase configure [2] Ignore error and continue to build [3] Give up on module [4] Start shell [5] Reload configuration [6] Go to phase wipe directory and start over choice: 4 exit shell to continue with build Since jhbuild is python2 only, I can't just run everything with python3. And it seems that the .jhbuildrc sets up the Python environment depending on what jhbuild is running under. If I switch in the shell to python3 then pycairo-python3 works, but thats not exactly a desirable approach for all packages: $ echo $PYTHON /Users/vbraun/gtk/inst/bin/python $ echo $PYTHONPATH /Users/vbraun/gtk/inst/lib/python2.7:/Users/vbraun/gtk/inst/lib/python2.7/site-packages/gtk-2.0:/Users/vbraun/gtk/inst/lib/python2.7/site-packages $ export PYTHON=/Users/vbraun/gtk/inst/bin/python3 $ export PYTHONPATH=/Users/vbraun/gtk/inst/lib/python3.3:/Users/vbraun/gtk/inst/lib/python3.3/site-packages/gtk-2.0:/Users/vbraun/gtk/inst/lib/python3.3/site-packages $ python3 ./waf configure --prefix /Users/vbraun/gtk/inst ./options() Setting top to : /Users/vbraun/gtk/source/pycairo-1.10.0 Setting out to : /Users/vbraun/gtk/source/pycairo-1.10.0/build_directory ./configure() Checking for 'gcc' (c compiler) : ok Checking for program python : /Users/vbraun/gtk/inst/bin/python3 Checking for python version : (3, 3, 2, 'final', 0) Checking for library python3.3 in LIBPATH_PYEMBED : not found Checking for library python3.3 in LIBDIR : not found Checking for library python3.3 in python_LIBPL: not found Checking for library python3.3 in $prefix/libs: not found Checking for library python3.3m in LIBPATH_PYEMBED : yes Checking for program python3.3-config : /Users/vbraun/gtk/inst/bin/python3.3-config Checking for header Python.h : yes Checking for program pkg-config: /Users/vbraun/gtk/inst/bin/pkg-config Checking for 'cairo' = 1.10.0 : yes Configuration: PREFIX : /Users/vbraun/gtk/inst LIBDIR : /Users/vbraun/gtk/inst/lib 'configure' finished successfully (0.477s) ___ Gtk-osx-users-list mailing list Gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list